aboutsummaryrefslogtreecommitdiff
path: root/gcc/cppcharset.c
AgeCommit message (Collapse)AuthorFilesLines
2003-04-21* cppcharset.c (_cpp_valid_ucn): Cast field precision to int.Andreas Jaeger1-4/+4
From-SVN: r65883
2003-04-20Makefile.in (LIBCPP_OBJS): Add cppcharset.o.Neil Booth1-0/+591
* Makefile.in (LIBCPP_OBJS): Add cppcharset.o. (cppcharset.o): New target. * c-lex.c (is_extended_char): Move to cppcharset.c. (utf8_extend_token): Delete. * cppcharset.c: New file. * cpphash.h (_cpp_valid_ucn): New. * cpplex.c (lex_identifier): Update prototype. (continues_identifier_p): Rename forms_identifier_p. Handle UCN escapes. (maybe_read_ucs): Rename maybe_read_ucn. Update to use code in cppcharset.c. (lex_number, lex_identifier, cpp_parse_escape): Update. (_cpp_lex_direct): Update to handle UCNs. (cpp_avoid_paste): Don't paste to form a UCN. testsuite: * ucs.c: Update diagnostic messages. From-SVN: r65845