From 8ecf5a683c65da21c8b3e0e843a415fc6518f68c Mon Sep 17 00:00:00 2001 From: Ben Elliston Date: Wed, 6 Apr 2005 00:11:59 +0000 Subject: [PATCH] gcc.c: Correct comment about DEFAULT_SWITCH_TAKES_ARG and... * gcc.c: Correct comment about DEFAULT_SWITCH_TAKES_ARG and DEFAULT_WORD_SWITCH_TAKES_ARG which incorrectly reported these macros as living in "this file" and not gcc.h. From-SVN: r97678 --- gcc/ChangeLog | 6 ++++++ gcc/gcc.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f7e7cd38c65..b49d5a2122c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2005-04-06 Ben Elliston + + * gcc.c: Correct comment about DEFAULT_SWITCH_TAKES_ARG and + DEFAULT_WORD_SWITCH_TAKES_ARG which incorrectly reported these + macros as living in "this file" and not gcc.h. + 2005-04-06 Ben Elliston * doc/invoke.texi (Optimize Options): Mention -ftree-lrs, not diff --git a/gcc/gcc.c b/gcc/gcc.c index 31edb0da717..98b9d0d4e5b 100644 --- a/gcc/gcc.c +++ b/gcc/gcc.c @@ -59,7 +59,7 @@ compilation is specified by a string called a "spec". */ 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 -- 2.30.2