summaryrefslogtreecommitdiff
path: root/gcc/c-opts.c
diff options
context:
space:
mode:
authorNeil Booth <neil@daikokuya.co.uk>2003-05-19 22:15:57 +0000
committerNeil Booth <neil@gcc.gnu.org>2003-05-19 22:15:57 +0000
commit42ad6c9eb3df4eacb2c38444a66d2c5c34fabaf7 (patch)
treea55e2161334ad417cb789d6f6d00acd9201ebc78 /gcc/c-opts.c
parent4b6fe6b647a19169aa11bd1812b69d19b0abdabb (diff)
downloadgcc-42ad6c9eb3df4eacb2c38444a66d2c5c34fabaf7.tar.gz
c-opts.c (c_common_decode_option): Don't accept dollars as identifier characters in assembly.
* c-opts.c (c_common_decode_option): Don't accept dollars as identifier characters in assembly. * doc/cpp.texi: Document this. From-SVN: r66976
Diffstat (limited to 'gcc/c-opts.c')
-rw-r--r--gcc/c-opts.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/c-opts.c b/gcc/c-opts.c
index 49189c4d289..7d4c0e5f61b 100644
--- a/gcc/c-opts.c
+++ b/gcc/c-opts.c
@@ -1399,6 +1399,7 @@ c_common_decode_option (argc, argv)
case OPT_lang_asm:
cpp_set_lang (parse_in, CLK_ASM);
+ cpp_opts->dollars_in_ident = false;
break;
case OPT_lang_objc: