gcc/libcpp
Geoffrey Keating 47e204910a Index: libcpp/ChangeLog
2005-03-12  Geoffrey Keating  <geoffk@apple.com>

	* directives.c (glue_header_name): Update call to cpp_spell_token.
	* internal.h (_cpp_interpret_identifier): New.
	* charset.c (_cpp_interpret_identifier): New.
	(_cpp_valid_ucn): Allow UCN version of '$'.
	* lex.c (lex_identifier): Add extra parameter to indicate if initial
	character was '$' or '\'.  Support identifiers with UCNs.
	(forms_identifier_p): Allow UCNs.
	(_cpp_lex_direct): Pass extra parameter to lex_identifier.
	(utf8_to_ucn): New.
	(cpp_spell_token): Add FORSTRING parameter.  Use it.
	(cpp_token_as_text): Update call to cpp_spell_token.
	(cpp_output_token): Write UCNs back out.
	(stringify_arg): Update call to cpp_spell_token.
	(paste_tokens): Likewise.
	(cpp_macro_definition): Likewise.
	* macro.c (stringify_arg): Likewise.
	(paste_tokens): Likewise.
	(cpp_macro_definition): Likewise.
	* include/cpplib.h: Add parameter to cpp_spell_token.

Index: gcc/ChangeLog
2005-03-12  Geoffrey Keating  <geoffk@apple.com>

	* c-lex.c (c_lex_with_flags): Add parameter to call to
	cpp_spell_token.

Index: gcc/testsuite/ChangeLog
2005-03-12  Geoffrey Keating  <geoffk@apple.com>

	* gcc.dg/ucnid-1.c: New.
	* gcc.dg/ucnid-2.c: New.
	* gcc.dg/ucnid-3.c: New.
	* gcc.dg/ucnid-4.c: New.
	* gcc.dg/ucnid-5.c: New.
	* gcc.dg/ucnid-6.c: New.
	* gcc.dg/cpp/ucnid-1.c: New.
	* gcc.dg/cpp/ucnid-2.c: New.
	* gcc.dg/cpp/ucnid-3.c: New.
	* g++.dg/other/ucnid-1.C: New.

From-SVN: r96333
2005-03-12 10:44:06 +00:00
..
include Index: libcpp/ChangeLog 2005-03-12 10:44:06 +00:00
po tr.po: Update. 2005-03-04 20:29:03 +00:00
.cvsignore
aclocal.m4
ChangeLog Index: libcpp/ChangeLog 2005-03-12 10:44:06 +00:00
charset.c Index: libcpp/ChangeLog 2005-03-12 10:44:06 +00:00
config.in re PR bootstrap/19818 (GCC 4.0 cannot bootstrap itself) 2005-02-14 08:52:24 +00:00
configure re PR bootstrap/19818 (GCC 4.0 cannot bootstrap itself) 2005-02-14 08:52:24 +00:00
configure.ac re PR bootstrap/19818 (GCC 4.0 cannot bootstrap itself) 2005-02-14 08:52:24 +00:00
directives.c Index: libcpp/ChangeLog 2005-03-12 10:44:06 +00:00
errors.c
expr.c
files.c directives.c, [...]: Update copyright. 2005-02-14 14:43:56 +00:00
identifiers.c
init.c directives.c, [...]: Update copyright. 2005-02-14 14:43:56 +00:00
internal.h Index: libcpp/ChangeLog 2005-03-12 10:44:06 +00:00
lex.c Index: libcpp/ChangeLog 2005-03-12 10:44:06 +00:00
line-map.c
macro.c Index: libcpp/ChangeLog 2005-03-12 10:44:06 +00:00
makedepend.c
Makefile.in
mkdeps.c
pch.c directives.c, [...]: Update copyright. 2005-02-14 14:43:56 +00:00
symtab.c
system.h
traditional.c directives.c, [...]: Update copyright. 2005-02-14 14:43:56 +00:00
ucnid.h
ucnid.pl
ucnid.tab