]> git.ipfire.org Git - thirdparty/gcc.git/commit - libcpp/macro.c
cpphash.h (struct cpp_buffer): Move saved_flags from cpp_reader.
authorNeil Booth <neil@daikokuya.demon.co.uk>
Thu, 1 Feb 2001 19:13:53 +0000 (19:13 +0000)
committerNeil Booth <neil@gcc.gnu.org>
Thu, 1 Feb 2001 19:13:53 +0000 (19:13 +0000)
commitbd9697727ba8f11b7015a5e7e4ab20cd172ddc81
treecb3461c1cc22fa95ff3bb51b1b2b2dbad2132830
parent8c0abc88e8dc5593bebe1f4e10b9a545cc183dad
cpphash.h (struct cpp_buffer): Move saved_flags from cpp_reader.

        * cpphash.h (struct cpp_buffer): Move saved_flags from cpp_reader.
        * cpplex.c (_cpp_lex_token): New token picks up the saved flags,
        and AVOID_LPASTE is cleared on meeting an unescaped newline.
        * cppmacro.c (builtin_macro): Set builtin flags here.
        (paste_all_tokens): Preserve AVOID_LPASTE on pasted token.
        (replace_args): Clarify intent.
        (cpp_get_token): Macro expansion tokens get the saved flags.
        Update.
        * cppmain.c (scan_buffer): Remove now-redundant print.printed
        check.

From-SVN: r39393
gcc/ChangeLog
gcc/cpphash.h
gcc/cpplex.c
gcc/cppmacro.c
gcc/cppmain.c