lex.c (real_yylex): Treat `$' just like `_'...
authorPaul Eggert <eggert@twinsun.com>
Tue, 30 Sep 1997 05:32:19 +0000 (05:32 +0000)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 30 Sep 1997 05:32:19 +0000 (01:32 -0400)
commit4f6140be61e7f75fdee7143d259b32ff16a70300
tree4535ad380ab461896c527838f82dc8d50944733b
parent9f6177175d92b4d7827cd9de3240be354b2aa47b
lex.c (real_yylex): Treat `$' just like `_'...

1997-09-29  Paul Eggert  <eggert@twinsun.com>

* lex.c (real_yylex): Treat `$' just like `_', except issue a
diagnostic if !dollars_in_ident or if pedantic.

* lang-specs.h (@c++): -ansi no longer implies -$.

* decl2.c (lang_decode_option):
-traditional and -ansi now do not mess with
dollars_in_ident.

From-SVN: r15802
gcc/cp/ChangeLog
gcc/cp/decl2.c
gcc/cp/lang-specs.h
gcc/cp/lex.c