https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67192

--- Comment #10 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
(In reply to Manuel López-Ibáñez from comment #8)
> Does GCC work at all if input_location is saved and restored in
> c_parser_peek_token? I guess not, it seems too much still relies in
> input_location being magically right.

Perhaps you can add c_parser_peek_token_keep_input_location and use that where
you are peeking the next token.

Reply via email to