lex.c: Sync with C frontend.
authorJason Merrill <jason@yorick.cygnus.com>
Sat, 24 Jul 1999 00:45:51 +0000 (00:45 +0000)
committerJason Merrill <jason@gcc.gnu.org>
Sat, 24 Jul 1999 00:45:51 +0000 (20:45 -0400)
commit1ceb5ff350b39174c1329415944bd1d9b3e25704
treeb5654b6d150bb960f9b0d4773426d5a71d71907b
parentb0385db881d09789d60be06a6bb78246fba4463a
lex.c: Sync with C frontend.

* lex.c: Sync with C frontend.
(whitespace_cr): New fn.
(skip_white_space): Use it.
(init_parse): Reorder.
(yyprint): Support CONSTANT.
(pragma_getc, pragma_ungetc): Bring back.
(read_line_number): Change in_system_header directly.
(handle_generic_pragma, handle_cp_pragma, yyerror): Move up in file.
(parse_float): Update to C version.
(yylex): Handle '$' under the letter case.
Remove looking_for_typename handling.
Support hex floating point constants.
Follow C's lead for choosing type of integer constants.
Rearrange stuff to match C frontend.
(yyungetc, reinit_parse_for_block, yylex): Support indent_level.
* spew.c (yylex): Clear looking_for_typename if we see a TYPESPEC.

From-SVN: r28230
gcc/cp/ChangeLog
gcc/cp/lex.c
gcc/cp/spew.c