diff options
author | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-05-23 19:05:37 +0000 |
---|---|---|
committer | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-05-23 19:05:37 +0000 |
commit | c83427596b9ac46f369ececc6596531892a44e1f (patch) | |
tree | 0572715a50d0060cffa9b65761eba955082eb2b8 /gcc/expr.c | |
parent | d193f25f58e670a93d1cc5b87733d3655f971a72 (diff) | |
download | ppe42-gcc-c83427596b9ac46f369ececc6596531892a44e1f.tar.gz ppe42-gcc-c83427596b9ac46f369ececc6596531892a44e1f.zip |
* 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
Diffstat (limited to 'gcc/expr.c')
0 files changed, 0 insertions, 0 deletions