OSDN Git Service

* lex.c: Sync with C frontend.
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 24 Jul 1999 00:45:51 +0000 (00:45 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 24 Jul 1999 00:45:51 +0000 (00:45 +0000)
commit9ee6a48df03ae747aae3bffa773b9854c7d4ff8f
treeb5654b6d150bb960f9b0d4773426d5a71d71907b
parent3dbb2386dca28bdc5ae4bf74f330c285bae71cc0
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28230 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/lex.c
gcc/cp/spew.c