]> git.ipfire.org Git - thirdparty/gcc.git/commit - libcpp/lex.c
* cpplex.c (enum spell_type): Add SPELL_NUMBER.
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 6 Oct 2001 23:11:27 +0000 (23:11 +0000)
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 6 Oct 2001 23:11:27 +0000 (23:11 +0000)
commit8d27e47208b2fba3fbce00fcf599389fd6a9b392
tree18e0a81db62c23158e5b9bb4e1bc8f943923ea29
parentd72ba7a9b8357633f3783f087e848104d01bf702
* cpplex.c (enum spell_type): Add SPELL_NUMBER.
(cpp_token_len, cpp_spell_token, cpp_output_token,
_cpp_equiv_tokens): Handle it.
* cpplib.h (TTYPE_TABLE): Use SPELL_NUMBER for CPP_NUMBER and
CPP_COMMENT, SPELL_NONE for CPP_PADDING and CPP_EOF.
* cppexp.c (_cpp_parse_expr): Use the correct operator code in
error messages.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46052 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cppexp.c
gcc/cpplex.c
gcc/cpplib.h