diff options
author | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-07-19 06:12:50 +0000 |
---|---|---|
committer | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-07-19 06:12:50 +0000 |
commit | f26876eec29e7a7ca6c69b854d4822f9cacd519e (patch) | |
tree | e3d86fe81bb6734db7b177884761a5402cc9f044 /gcc/c-parse.in | |
parent | 5bc45500bed388bad3e841bb7c31a06feb7cd078 (diff) | |
download | ppe42-gcc-f26876eec29e7a7ca6c69b854d4822f9cacd519e.tar.gz ppe42-gcc-f26876eec29e7a7ca6c69b854d4822f9cacd519e.zip |
* c-lex.c (c_lex): Remove CPP_INT, CPP_FLOAT cases.
* c-parse.in (yyerror, _yylex): Similarly.
* cppexp.c (parse_number, parse_defined, lex, _cpp_parse_expr):
Don't use CPP_INT, CPP_FLOAT; CPP_NUMBER is enough.
Update comments.
* cpplib.h (CPP_INT, CPP_FLOAT): Remove.
* cp/spew.c (read_token, yyerror): Remove CPP_INT, CPP_FLOAT cases.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44144 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-parse.in')
-rw-r--r-- | gcc/c-parse.in | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/gcc/c-parse.in b/gcc/c-parse.in index d33a8c56b48..7d87e2004fd 100644 --- a/gcc/c-parse.in +++ b/gcc/c-parse.in @@ -3603,9 +3603,7 @@ yyerror (msgid) else if (last_token == CPP_STRING || last_token == CPP_WSTRING) error ("%s before string constant", string); - else if (last_token == CPP_NUMBER - || last_token == CPP_INT - || last_token == CPP_FLOAT) + else if (last_token == CPP_NUMBER) error ("%s before numeric constant", string); else if (last_token == CPP_NAME) error ("%s before \"%s\"", string, IDENTIFIER_POINTER (yylval.ttype)); @@ -3734,8 +3732,6 @@ _yylex () case CPP_NAME: return yylexname (); - case CPP_INT: - case CPP_FLOAT: case CPP_NUMBER: case CPP_CHAR: case CPP_WCHAR: |