OSDN Git Service

libcpp/
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 30 Mar 2007 21:12:53 +0000 (21:12 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 30 Mar 2007 21:12:53 +0000 (21:12 +0000)
commit3fa3949da38e56a88feef5467a58ea52c3fea3be
treef8ad58ad599c110a4cb386319a9c1e0f7f184b64
parent6e9e3dbec65a8f70bf8c2db0047ee92349a14cd2
libcpp/
        * directives.c (lex_macro_node_from_str): New.
        (cpp_push_definition, cpp_pop_definition): New.
        * include/cpplib.h (cpp_push_definition, cpp_pop_definition): Declare.
gcc/
        * c-pragma.c (struct def_pragma_macro_value): New.
        (struct def_pragma_macro): New.
        (pushed_macro_table): New.
        (dpm_hash, dpm_eq): New.
        (handle_pragma_push_macro, handle_pragma_pop_macro): New.
        (init_pragma): Install them.
        * doc/tm.texi (HANDLE_PRAGMA_PUSH_POP_MACRO): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123370 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/c-pragma.c
gcc/doc/tm.texi
gcc/testsuite/gcc.dg/pragma-push_macro-1.c [new file with mode: 0644]
libcpp/ChangeLog
libcpp/directives.c
libcpp/include/cpplib.h