* cppfiles.c (_cpp_pop_file_buffer): Change return type to bool
commit54915428a0dd3f2d48f8e78eb6a2595567a5b6f4
authorschwab <schwab@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 3 Jan 2002 09:41:00 +0000 (3 09:41 +0000)
committerschwab <schwab@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 3 Jan 2002 09:41:00 +0000 (3 09:41 +0000)
treecbc23e02d49a928631fef7e5b64be1beb9789c5c
parented1e5d409737c9503e0e2cb9c51ea2f4a69c8ad0
* cppfiles.c (_cpp_pop_file_buffer): Change return type to bool
and return true if _cpp_push_next_buffer pushed a new include
file.
* cpplib.c (_cpp_pop_buffer): Only call obstack_free if
_cpp_pop_file_buffer did not push a new file.
* cpphash.h (_cpp_pop_file_buffer): Update declaration.

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