]> git.ipfire.org Git - thirdparty/gcc.git/commit - libcpp/ChangeLog
directives.c (lex_macro_node_from_str): New.
authorRichard Henderson <rth@redhat.com>
Fri, 30 Mar 2007 21:12:53 +0000 (14:12 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Fri, 30 Mar 2007 21:12:53 +0000 (14:12 -0700)
commit121de39fc0ebadfbf9ef9f1721aa3cac42ac92e1
treef8ad58ad599c110a4cb386319a9c1e0f7f184b64
parent6c7ac15dc63e3435b7cec32baa37e48d86c381e3
directives.c (lex_macro_node_from_str): New.

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.

Co-Authored-By: Kai Tietz <kai.tietz@onevision.com>
From-SVN: r123370
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