Cosmetic improvement to desc-cpu.scm

Ben Elliston bje@redhat.com
Sat Dec 2 19:01:00 GMT 2000


The following change eliminates the hyphen logged between the arch-name and
"desc.[hc]".  Since the controlling Makefiles allow the final filenames to
be closely specified, this output is incorrect and confuses users (like me!)
to see a different filename being mentioned in the cgen output.

If I don't hear any objections, I'll commit this in a couple of days.

Ben


--- desc-cpu.scm	2000/11/20 19:03:16	1.23
+++ desc-cpu.scm	2000/12/03 02:58:18
@@ -874,7 +874,7 @@
 ; Then they'd be usable and we wouldn't have to special case them here.

 (define (cgen-desc.h)
-  (logit 1 "Generating " (current-arch-name) "-desc.h ...\n")
+  (logit 1 "Generating " (current-arch-name) " desc.h ...\n")
   (string-write
    (gen-copyright "CPU data header for @arch@."
 		  CURRENT-COPYRIGHT CURRENT-PACKAGE)
@@ -926,7 +926,7 @@
 ; no place to put this file.  To be revisited when we do have such a place.

 (define (cgen-desc.c)
-  (logit 1 "Generating " (current-arch-name) "-desc.c ...\n")
+  (logit 1 "Generating " (current-arch-name) " desc.c ...\n")
   (string-write
    (gen-copyright "CPU data for @arch@."
 		  CURRENT-COPYRIGHT CURRENT-PACKAGE)



More information about the Cgen mailing list