diff options
author | Neil Booth <neil@daikokuya.co.uk> | 2003-04-20 07:29:23 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2003-04-20 07:29:23 +0000 |
commit | 1613e52bdd61cfd2e00fb326c5cfef8e07f8c797 (patch) | |
tree | 01f484dfa9250821cfb9113a0a797ca2bec80e59 /gcc/Makefile.in | |
parent | 0a45ec5c78e634e129fe3e9bbcddf6b721a10ca8 (diff) | |
download | gcc-1613e52bdd61cfd2e00fb326c5cfef8e07f8c797.tar.gz |
Makefile.in (LIBCPP_OBJS): Add cppcharset.o.
* 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
Diffstat (limited to 'gcc/Makefile.in')
-rw-r--r-- | gcc/Makefile.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/Makefile.in b/gcc/Makefile.in index 32a2b44f233..ceff352623b 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -2320,7 +2320,7 @@ PREPROCESSOR_DEFINES = \ @TARGET_SYSTEM_ROOT_DEFINE@ LIBCPP_OBJS = cpplib.o cpplex.o cppmacro.o cppexp.o cppfiles.o cpptrad.o \ - cpphash.o cpperror.o cppinit.o \ + cpphash.o cpperror.o cppinit.o cppcharset.o \ hashtable.o line-map.o mkdeps.o mbchar.o cpppch.o LIBCPP_DEPS = $(CPPLIB_H) cpphash.h line-map.h hashtable.h intl.h \ @@ -2333,6 +2333,7 @@ libcpp.a: $(LIBCPP_OBJS) $(AR) $(AR_FLAGS) libcpp.a $(LIBCPP_OBJS) -$(RANLIB) libcpp.a +cppcharset.o: cppcharset.c $(LIBCPP_DEPS) cpperror.o: cpperror.c $(LIBCPP_DEPS) cppexp.o: cppexp.c $(LIBCPP_DEPS) cpplex.o: cpplex.c $(LIBCPP_DEPS) mbchar.h |