Obvious: error in gcc.c comment

Ben Elliston bje@au1.ibm.com
Wed Apr 6 00:08:00 GMT 2005


Committed to mainline as obvious.

Ben


2005-04-06  Ben Elliston  <bje@au.ibm.com>

         * gcc.c: Correct comment about DEFAULT_SWITCH_TAKES_ARG
         and DEFAULT_WORD_SWITCH_TAKES_ARG which incorrectly reported these
         macros as living in gcc.c, not gcc.h.

Index: gcc.c
===================================================================
RCS file: /home/bje/gcc-cvs/gcc/gcc/gcc.c,v
retrieving revision 1.451
diff -u -p -r1.451 gcc.c
--- gcc.c       1 Apr 2005 16:44:31 -0000       1.451
+++ gcc.c       6 Apr 2005 00:06:56 -0000
@@ -59,7 +59,7 @@ compilation is specified by a string cal

     4. If the argument takes an argument, e.g., `--baz argument1',
     modify either DEFAULT_SWITCH_TAKES_ARG or
-   DEFAULT_WORD_SWITCH_TAKES_ARG in this file.  Omit the first `-'
+   DEFAULT_WORD_SWITCH_TAKES_ARG in gcc.h.  Omit the first `-'
     from `--baz'.

     5. Document the option in this file's display_help().  If the
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 256 bytes
Desc: OpenPGP digital signature
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20050406/fd83681d/attachment.sig>


More information about the Gcc-patches mailing list