From 984defeb6cfb73d54b6605c469da8b662c9e8a30 Mon Sep 17 00:00:00 2001 From: Sandra Loosemore Date: Fri, 6 Jul 2007 18:08:40 -0400 Subject: [PATCH] c-opts.c (c_common_handle_option): Make DOLLARS_IN_IDENTIFIERS apply to assembly language, too. 2007-07-06 Sandra Loosemore 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 --- gcc/c-opts.c | 1 - gcc/doc/tm.texi | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/gcc/c-opts.c b/gcc/c-opts.c index d0fafc6f9db..497a36db85d 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 3a66303a5d9..8322910c649 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 -- 2.30.2