diff options
author | Neil Booth <neil@daikokuya.co.uk> | 2003-05-17 20:29:34 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2003-05-17 20:29:34 +0000 |
commit | b1822ccc44ac015fac2558ca151fa6154bd66880 (patch) | |
tree | cc833b5eaad739137055c876d152a481427bc136 /gcc/doc/tm.texi | |
parent | a69e127ba7e8e92dee6620fd692672955247b51b (diff) | |
download | gcc-b1822ccc44ac015fac2558ca151fa6154bd66880.zip gcc-b1822ccc44ac015fac2558ca151fa6154bd66880.tar.gz gcc-b1822ccc44ac015fac2558ca151fa6154bd66880.tar.bz2 |
c-common.c, c-common.h (dollars_in_ident): Remove.
* 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.
From-SVN: r66911
Diffstat (limited to 'gcc/doc/tm.texi')
-rw-r--r-- | gcc/doc/tm.texi | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi index d631bd8..01b4975 100644 --- a/gcc/doc/tm.texi +++ b/gcc/doc/tm.texi @@ -9064,10 +9064,10 @@ value. @findex DOLLARS_IN_IDENTIFIERS @item DOLLARS_IN_IDENTIFIERS -Define this macro to control use of the character @samp{$} in identifier -names. 0 means @samp{$} is not allowed by default; 1 means it is allowed. -1 is the default; there is no need to define this macro in that case. -This macro controls the compiler proper; it does not affect the preprocessor. +Define this macro to control use of the character @samp{$} in +identifier names for the C family of languages. 0 means @samp{$} is +not allowed by default; 1 means it is allowed. 1 is the default; +there is no need to define this macro in that case. @findex NO_DOLLAR_IN_LABEL @item NO_DOLLAR_IN_LABEL |