diff options
author | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-05-17 20:29:34 +0000 |
---|---|---|
committer | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-05-17 20:29:34 +0000 |
commit | 14e33bb6ace95d45b944fbb338d283c56a191829 (patch) | |
tree | cc833b5eaad739137055c876d152a481427bc136 /gcc/doc/cppopts.texi | |
parent | e2ed735081cb6afa3e84face71425c537433b781 (diff) | |
download | gcc-14e33bb6ace95d45b944fbb338d283c56a191829.tar.gz |
* c-common.c, c-common.h (dollars_in_ident): Remove.
* c-opts.c (DOLLARS_IN_IDENTIFIERS): Default to true.
(c_common_init_options, c_common_decode_option): Set dollars_in_ident.
* cpphash.h (warned_dollar): Rename warn_dollars.
* cppinit.c (struct lang_flags, lang_defaults, cpp_set_lang)
Permit dollars regardless of -std=.
(post_options): Set warn_dollars.
* cpplex.c (forms_identifier_p): Use warn_dollars.
* config/darwin.h, config/alpha/vms.h, config/m68hc11/m68hc11.h:
Remove redundant definitions of DOLLARS_IN_IDENTIFIERS.
* doc/cpp.texi, doc/cppopts.texi, doc/invoke.texi, doc/tm.texi:
Update documentation.
testsuite:
* gcc.dg/dollar.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66911 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/doc/cppopts.texi')
-rw-r--r-- | gcc/doc/cppopts.texi | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/doc/cppopts.texi b/gcc/doc/cppopts.texi index 27530c751eb..70116399dc7 100644 --- a/gcc/doc/cppopts.texi +++ b/gcc/doc/cppopts.texi @@ -468,6 +468,14 @@ is applied to the standard system directories. @xref{System Headers}. @end ifset +@item -fdollars-in-identifiers +@opindex fdollars-in-identifiers +@anchor{fdollars-in-identifiers} +Accept @samp{$} in identifiers. +@ifset cppmanual + @xref{Identifier characters}. +@end ifset + @item -fpreprocessed @opindex fpreprocessed Indicate to the preprocessor that the input file has already been |