This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH] Fix PR preprocessor/15167
Eric Botcazou <email@example.com> writes:
>> Because it is a data structure invariant that buffer_valid becomes
>> false on _cpp_stack_file and stays that way. Clearing it in
>> _cpp_pop_file_buffer papers over bugs.
> All right. Let's use this invariant then. What about something like this?
> * files.c (destroy_cpp_file): New function.
> (should_stack_file): Make a new file if the
> compared file is still stacked.
This will do, I think. Might wait to see what Neil thinks of it.