]> gcc.gnu.org Git - gcc.git/commit
cppfiles.c (stack_include_file): Push zero-length buffers in case of failure.
authorNeil Booth <neilb@earthling.net>
Tue, 5 Dec 2000 23:42:43 +0000 (23:42 +0000)
committerNeil Booth <neil@gcc.gnu.org>
Tue, 5 Dec 2000 23:42:43 +0000 (23:42 +0000)
commit3cf3593fad06d6fb27f5e8ef3715c41fad1553b8
treef75c0eae70e97a88004eb221f90aa6ae6175ab77
parentd53c4221afa7f4a00b7200c6d9023e1c6c5c2769
cppfiles.c (stack_include_file): Push zero-length buffers in case of failure.

        * 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.

From-SVN: r38057
gcc/ChangeLog
gcc/cppfiles.c
gcc/cpplib.c
gcc/cpplib.h
This page took 0.056663 seconds and 5 git commands to generate.