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]

Obvious: error in gcc.c comment


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

Attachment: signature.asc
Description: OpenPGP digital signature


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