]> gcc.gnu.org Git - gcc.git/commit - gcc/cppmain.c
c-lex.c: s/change_file/file_change.
authorNeil Booth <neil@daikokuya.demon.co.uk>
Mon, 18 Dec 2000 19:00:26 +0000 (19:00 +0000)
committerNeil Booth <neil@gcc.gnu.org>
Mon, 18 Dec 2000 19:00:26 +0000 (19:00 +0000)
commiteb1f4d9d2804a8f244a06bff2d22d62906cccbb8
treedc29c41d4ea8d368485a05613f91c17d4bec16ea
parente2187d3b5278e31a321fae25879d9044248d2287
c-lex.c: s/change_file/file_change.

        * c-lex.c: s/change_file/file_change.
        * cpplib.h: Similarly.
        * cppmain.c: Similarly.
        * fix-header.c: Similarly.
        * cppfiles.c (stack_include_file): Pass the buffer location and
        size to cpp_push_buffer.  Generate the file_change callback,
        so that sysp is already set.
        * cpphash.h: Add _cpp_do_file_change.
        * cpplib.c (do_line): Set buffer->sysp directly. Generate the
        file_change callback after setting sysp.
        (_cpp_do_file_change): Handle FC_ENTER and the FC_RENAME exception
        here.
        (cpp_push_buffer): Don't generate a callback.  Clear sysp.
        (cpp_pop_buffer): Clean up logic.

From-SVN: r38357
gcc/ChangeLog
gcc/c-lex.c
gcc/cppfiles.c
gcc/cpphash.h
gcc/cpplib.c
gcc/cpplib.h
gcc/cppmain.c
gcc/fix-header.c
This page took 0.062041 seconds and 5 git commands to generate.