* c-lex.c (lex_charconst): Convert into a simple wrapper
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 11 May 2001 23:48:21 +0000 (23:48 +0000)
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 11 May 2001 23:48:21 +0000 (23:48 +0000)
commit8330799c24a0f37967d11ef4b5dc9ece7d7f4706
treeeefc97fe7077fa7f6cfc9bb868638feb3419f0dd
parentd194c51979a96a42a398d424c28e6e3bf1d119e7
* c-lex.c (lex_charconst): Convert into a simple wrapper
around cpp_interpret_charconst, to which most of the code
body is moved.
* cppexp.c (MAX_CHAR_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE,
MAX_LONG_TYPE_SIZE, MAX_INT_TYPE_SIZE, MAX_CHAR_TYPE_MASK,
MAX_WCHAR_TYPE_MASK, parse_escape, parse_charconst): Remove.
(lex): Use cpp_interpret_charconst.
* cpplex.c (parse_escape, read_ucs, cpp_interpret_charconst,
hex_digit_value): New functions.
(MAX_CHAR_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): New macros.
* cpplib.h (cpp_interpret_charconst): New prototype.
* Makefile.in: Update.

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