From 170ea7b94828ab882687a787cf41ea4620919147 Mon Sep 17 00:00:00 2001 From: Sandra Loosemore Date: Sun, 8 Jul 2007 09:46:20 -0400 Subject: [PATCH] revert: c-opts.c (c_common_handle_option): Make DOLLARS_IN_IDENTIFIERS apply to assembly language, too. 2007-07-08 Sandra Loosemore Revert this patch: 2007-07-06 Sandra Loosemore * 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: r126458 --- gcc/ChangeLog | 9 +++++++++ gcc/c-opts.c | 1 + gcc/doc/tm.texi | 2 +- 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ce2a5143196..1fda2ea2179 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,12 @@ +2007-07-08 Sandra Loosemore + + Revert this patch: + 2007-07-06 Sandra Loosemore + + * c-opts.c (c_common_handle_option): Make DOLLARS_IN_IDENTIFIERS + apply to assembly language, too. + * doc/tm.texi (DOLLARS_IN_IDENTIFIERS): Update. + 2007-07-07 Daniel Berlin Revert (note the sccvn portions are *not* reverted) diff --git a/gcc/c-opts.c b/gcc/c-opts.c index 497a36db85d..d0fafc6f9db 100644 --- a/gcc/c-opts.c +++ b/gcc/c-opts.c @@ -883,6 +883,7 @@ 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 8322910c649..3a66303a5d9 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. 0 means @samp{$} is +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. @end defmac -- 2.30.2