OSDN Git Service

2007-07-08 Sandra Loosemore <sandra@codesourcery.com>
authorsandra <sandra@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 8 Jul 2007 13:46:20 +0000 (13:46 +0000)
committersandra <sandra@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 8 Jul 2007 13:46:20 +0000 (13:46 +0000)
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@126458 138bc75d-0d04-0410-961f-82ee72b054a4

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

index ce2a514..1fda2ea 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 497a36d..d0fafc6 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 8322910..3a66303 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