cpplex.c (enum spell_type): Add SPELL_NUMBER.
authorZack Weinberg <zack@codesourcery.com>
Sat, 6 Oct 2001 23:11:27 +0000 (23:11 +0000)
committerZack Weinberg <zack@gcc.gnu.org>
Sat, 6 Oct 2001 23:11:27 +0000 (23:11 +0000)
commit47ad4138968382305b6f563c8745356c653dc9b4
tree18e0a81db62c23158e5b9bb4e1bc8f943923ea29
parent7fb56130c433ad5492234da98506fe00dfbd00d4
cpplex.c (enum spell_type): Add SPELL_NUMBER.

* 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.

From-SVN: r46052
gcc/ChangeLog
gcc/cppexp.c
gcc/cpplex.c
gcc/cpplib.h