revert: c-opts.c (c_common_handle_option): Make DOLLARS_IN_IDENTIFIERS apply to assem...
authorSandra Loosemore <sandra@codesourcery.com>
Sun, 8 Jul 2007 13:46:20 +0000 (09:46 -0400)
committerSandra Loosemore <sandra@gcc.gnu.org>
Sun, 8 Jul 2007 13:46:20 +0000 (09:46 -0400)
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

gcc/ChangeLog
gcc/c-opts.c
gcc/doc/tm.texi

index ce2a5143196056b7a91a3832bb80bd6249c23b32..1fda2ea2179f7dc5c7f1029e32ab2f75ff7c1ba2 100644 (file)
@@ -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)
index 497a36db85dca0ae3f0c369d4244f352bce2ac84..d0fafc6f9dbcd740b7541d0f9bccf2d630b50fcd 100644 (file)
@@ -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:
index 8322910c649f7958e3d515c9e28c7c88aa880a13..3a66303a5d922107207bd396e589bda344244599 100644 (file)
@@ -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