gcc/libcpp
Jakub Jelinek 8e680db5b6 cpplib.h (struct cpp_callbacks): Add user_builtin_macro callback.
* include/cpplib.h (struct cpp_callbacks): Add user_builtin_macro
	callback.
	(enum cpp_builtin_type): Add BT_FIRST_USER and BT_LAST_USER.
	(cpp_macro_definition): Remove const qual from second argument.
	* macro.c (enter_macro_context): Call user_builtin_macro callback for
	NODE_BUILTIN !NODE_USED macros.
	(warn_of_redefinition): Likewise.  Remove const qual from second
	argument.
	(cpp_macro_definition): Likewise.
	* pch.c (write_macdef, save_macros): Call user_builtin_macro callback
	for NODE_BUILTIN !NODE_USED macros.

	* c-family/c-cppbuiltin.c: Include cpp-id-data.h.
	(lazy_hex_fp_values, lazy_hex_fp_value_count): New variables.
	(lazy_hex_fp_value): New function.
	(builtin_define_with_hex_fp_value): Provide definitions lazily.
	* Makefile.in (c-family/c-cppbuiltin.o): Depend on $(CPP_ID_DATA_H).

From-SVN: r160626
2010-06-11 20:37:34 +02:00
..
include cpplib.h (struct cpp_callbacks): Add user_builtin_macro callback. 2010-06-11 20:37:34 +02:00
po
aclocal.m4 Undo inadvertent commit in rev 160105. 2010-06-01 10:20:24 -04:00
ChangeLog cpplib.h (struct cpp_callbacks): Add user_builtin_macro callback. 2010-06-11 20:37:34 +02:00
charset.c
config.in re PR bootstrap/42798 (--enable-build-with-cxx bootstrap fails on i686-pc-linux-gnu (Fedora12)) 2010-06-03 06:45:02 +00:00
configure re PR bootstrap/44432 ([boot with C++] configure does not check presence of host C++ compiler) 2010-06-09 11:32:23 +01:00
configure.ac re PR bootstrap/44432 ([boot with C++] configure does not check presence of host C++ compiler) 2010-06-09 11:32:23 +01:00
directives-only.c
directives.c
errors.c
expr.c
files.c
identifiers.c
init.c common.opt (fshow-column): Don't mark as C ObjC C++ ObjC++. 2010-06-10 16:10:11 +01:00
internal.h
lex.c
line-map.c
macro.c cpplib.h (struct cpp_callbacks): Add user_builtin_macro callback. 2010-06-11 20:37:34 +02:00
Makefile.in
makeucnid.c
mkdeps.c
pch.c cpplib.h (struct cpp_callbacks): Add user_builtin_macro callback. 2010-06-11 20:37:34 +02:00
symtab.c
system.h
traditional.c
ucnid.h
ucnid.tab