http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45362

--- Comment #18 from Kai Tietz <ktietz at gcc dot gnu.org> 2010-09-29 18:18:42 
UTC ---
Author: ktietz
Date: Wed Sep 29 18:18:38 2010
New Revision: 164729

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164729
Log:
2010-09-29  Kai Tietz  <kai.ti...@onevision.com>

    PR preprocessor/45362
    * directives.c (cpp_pop_definition): Make static.
    (do_pragma_push_macro): Reworked to store text
    definition.
    (do_pragma_pop_macro): Add free text definition.
    (cpp_push_definition): Removed.
    * include/cpplib.h (cpp_push_definition): Removed.
    (cpp_pop_definition): Likewise.
    * internal.h (def_pragma_macro): Remove member 'value'
    and add new members 'definition', 'line',
    'syshdr', 'sued' and 'is_undef'.
    * pch.c (_cpp_restore_pushed_macros): Rework to work
    on text definition and store additional macro flags.
    (_cpp_save_pushed_macros): Likewise.


Modified:
    trunk/libcpp/ChangeLog
    trunk/libcpp/directives.c
    trunk/libcpp/include/cpplib.h
    trunk/libcpp/internal.h
    trunk/libcpp/pch.c

Reply via email to