OSDN Git Service

* c-lex.c (read_escape, read_ucs): Delete.
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 23 May 2001 19:05:37 +0000 (19:05 +0000)
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 23 May 2001 19:05:37 +0000 (19:05 +0000)
commitc83427596b9ac46f369ececc6596531892a44e1f
tree0572715a50d0060cffa9b65761eba955082eb2b8
parentd193f25f58e670a93d1cc5b87733d3655f971a72
* c-lex.c (read_escape, read_ucs): Delete.
(lex_string): Use cpp_parse_escape.
* cpplex.c (read_ucs): Rename maybe_read_ucs.  Do nothing
if not C++ or not C99.  Warn if traditional.
(parse_escape): Rename cpp_parse_escape.  Make the bitmask
unsigned.  Warn for out-of-range escape sequences here.
Update to use maybe_read_ucs.
(cpp_interpret_charconst):  Don't warn here.
* cpplib.h (cpp_parse_escape): New exported function.

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