diff options
author | Sandra Loosemore <sandra@codesourcery.com> | 2007-07-08 09:46:20 -0400 |
---|---|---|
committer | Sandra Loosemore <sandra@gcc.gnu.org> | 2007-07-08 09:46:20 -0400 |
commit | 170ea7b94828ab882687a787cf41ea4620919147 (patch) | |
tree | 7fd9f53860a5d9bd831e028aeff2b732637c082c | |
parent | 1cd13fb851411d2b7e7c263ea0208f34e5e8e264 (diff) | |
download | gcc-170ea7b94828ab882687a787cf41ea4620919147.zip gcc-170ea7b94828ab882687a787cf41ea4620919147.tar.gz gcc-170ea7b94828ab882687a787cf41ea4620919147.tar.bz2 |
revert: c-opts.c (c_common_handle_option): Make DOLLARS_IN_IDENTIFIERS apply to assembly language, too.
2007-07-08 Sandra Loosemore <sandra@codesourcery.com>
Revert this patch:
2007-07-06 Sandra Loosemore <sandra@codesourcery.com>
* 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
-rw-r--r-- | gcc/ChangeLog | 9 | ||||
-rw-r--r-- | gcc/c-opts.c | 1 | ||||
-rw-r--r-- | gcc/doc/tm.texi | 2 |
3 files changed, 11 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ce2a514..1fda2ea 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,12 @@ +2007-07-08 Sandra Loosemore <sandra@codesourcery.com> + + Revert this patch: + 2007-07-06 Sandra Loosemore <sandra@codesourcery.com> + + * 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 <dberlin@dberlin.org> Revert (note the sccvn portions are *not* reverted) diff --git a/gcc/c-opts.c b/gcc/c-opts.c index 497a36d..d0fafc6 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 8322910..3a66303 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 |