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

--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
(In reply to Richard Henderson from comment #10)
> I believe the tokens didn't stay around in C at the time.
> But I might be wrong... it was 9 years ago...
> 
> If we can remove it, it does seem like a good idea.

I believe they still don't stay around in C, but they do stay around in C++.
So perhaps we could just add cp_parser_get_pragma_kind routine or similar
that would for a token return us a pragma_kind and use it in the 5 or how many
spots, plus adjust the c-family assert to be id < 256 and state that C FE
reserves 8 bits for pragma_kind and C++ FE doesn't have an upper bound.

Reply via email to