summaryrefslogtreecommitdiff
path: root/gcc/toplev.h
diff options
context:
space:
mode:
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2001-04-19 19:52:17 +0000
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2001-04-19 19:52:17 +0000
commit65fd03c09718899ae351d9eca6b717b3a0f959c7 (patch)
tree98b8cfe356888710abb3c4f2fda98fb972bae195 /gcc/toplev.h
parent41441b595a9bffbf63a6da9fb6a9c050817a38de (diff)
downloadgcc-65fd03c09718899ae351d9eca6b717b3a0f959c7.tar.gz
* toplev.h (struct lang_hooks): Allow decode_option to indicate
that language-independent processing should not be done. * toplev.c (main): Adjust accordingly. * top.c (ffe_decode_option): Do not permit language-independent processing for -ffixed-line-length. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41427 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/toplev.h')
-rw-r--r--gcc/toplev.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/gcc/toplev.h b/gcc/toplev.h
index edf7e0242e0..1f8f7d02e37 100644
--- a/gcc/toplev.h
+++ b/gcc/toplev.h
@@ -154,7 +154,12 @@ struct lang_hooks
single option (typically starting with -f or -W or +). It should
return the number of command-line arguments it uses if it handles
the option, or 0 and not complain if it does not recognise the
- option. This hook cannot be NULL. */
+ option. If this function returns a negative number, then its
+ absolute value is the number of command-line arguments used, but,
+ in addition, no language-independent option processing should be
+ done for this option.
+
+ This hook cannot be NULL. */
int (*decode_option) PARAMS ((int, char **));
/* Called when all command line options have been processed. */