aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorSandra Loosemore <sandra@gcc.gnu.org>2007-07-06 18:08:40 -0400
committerSandra Loosemore <sandra@gcc.gnu.org>2007-07-06 18:08:40 -0400
commit984defeb6cfb73d54b6605c469da8b662c9e8a30 (patch)
treecda4895327d44fce434178cd4db98686a089a254 /gcc
parent8cea2d67aba7bf4d4551667c39647b478214fba1 (diff)
downloadgcc-984defeb6cfb73d54b6605c469da8b662c9e8a30.zip
gcc-984defeb6cfb73d54b6605c469da8b662c9e8a30.tar.gz
gcc-984defeb6cfb73d54b6605c469da8b662c9e8a30.tar.bz2
c-opts.c (c_common_handle_option): Make DOLLARS_IN_IDENTIFIERS apply to assembly language, too.
2007-07-06 Sandra Loosemore <sandra@codesourcery.com> gcc/ * c-opts.c (c_common_handle_option): Make DOLLARS_IN_IDENTIFIERS apply to assembly language, too. * doc/tm.texi (DOLLARS_IN_IDENTIFIERS): Update. From-SVN: r126427
Diffstat (limited to 'gcc')
-rw-r--r--gcc/c-opts.c1
-rw-r--r--gcc/doc/tm.texi2
2 files changed, 1 insertions, 2 deletions
diff --git a/gcc/c-opts.c b/gcc/c-opts.c
index d0fafc6..497a36d 100644
--- a/gcc/c-opts.c
+++ b/gcc/c-opts.c
@@ -883,7 +883,6 @@ c_common_handle_option (size_t scode, const char *arg, int value)
case OPT_lang_asm:
cpp_set_lang (parse_in, CLK_ASM);
- cpp_opts->dollars_in_ident = false;
break;
case OPT_lang_fortran:
diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi
index 3a66303..8322910 100644
--- a/gcc/doc/tm.texi
+++ b/gcc/doc/tm.texi
@@ -9774,7 +9774,7 @@ previous value.
@defmac DOLLARS_IN_IDENTIFIERS
Define this macro to control use of the character @samp{$} in
-identifier names for the C family of languages. 0 means @samp{$} is
+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.
@end defmac