This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

tm.texi - typo and (slightly) misleading target macro note


(This is too trivial for a ChangeLog but here goes)

2003-02-11  Bernd Jendrissek  <bernd.jendrissek@mailbox.co.za>

	* tm.texi (MODIFY_TARGET_NAME): Fix typo.
	  (TARGET_VERSION): Macro is used with trailing semicolon; say so.


diff -u -r1.199 tm.texi
--- tm.texi	5 Feb 2003 22:37:54 -0000	1.199
+++ tm.texi	11 Feb 2003 14:13:33 -0000
@@ -460,8 +460,8 @@
 
 @findex MODIFY_TARGET_NAME
 @item MODIFY_TARGET_NAME
-Define this macro if you with to define command-line switches that modify the
-default target name
+Define this macro if you wish to define command-line switches that modify the
+default target name.
 
 For each switch, you can include a string to be appended to the first
 part of the configuration name or a string to be deleted from the
@@ -788,15 +788,16 @@
 @item TARGET_VERSION
 This macro is a C statement to print on @code{stderr} a string
 describing the particular machine description choice.  Every machine
-description should define @code{TARGET_VERSION}.  For example:
+description should define @code{TARGET_VERSION}.  This macro is used
+with a trailing semicolon.  For example:
 
 @smallexample
 #ifdef MOTOROLA
 #define TARGET_VERSION \
-  fprintf (stderr, " (68k, Motorola syntax)");
+  fprintf (stderr, " (68k, Motorola syntax)")
 #else
 #define TARGET_VERSION \
-  fprintf (stderr, " (68k, MIT syntax)");
+  fprintf (stderr, " (68k, MIT syntax)")
 #endif
 @end smallexample
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]