* cppfiles.c (stack_include_file): Push zero-length buffers
commitc4a0fee9ea0630bd19fe39580e78427126501aae
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 5 Dec 2000 23:42:43 +0000 (5 23:42 +0000)
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 5 Dec 2000 23:42:43 +0000 (5 23:42 +0000)
treef75c0eae70e97a88004eb221f90aa6ae6175ab77
parent39b4544721a42184a6259f64d2197630d71d4744
    * cppfiles.c (stack_include_file): Push zero-length buffers
        in case of failure.  Return void, as we don't fail any more.
        (read_include_file): Check for files we shouldn't re-read.
        Don't return an error code; errors are implied by marking the
        file NEVER_REREAD.
        (_cpp_execute_include): Move the recursion and in-macro checks
        here.  Update for stack_include_file not failing.
        * cpplib.c (cpp_push_buffer): Always succeed, since
        _cpp_execute_include performs the recursion check.  Tidy up.
        * cpplib.h (cpp_push_buffer): Update prototype.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38057 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cppfiles.c
gcc/cpplib.c
gcc/cpplib.h