On 11/3/24 12:26 PM, Paul Iannetta wrote:
On Fri, Nov 01, 2024 at 11:45:07AM -0400, Jason Merrill wrote:
On 10/31/24 6:43 AM, Paul Iannetta wrote:
gcc/c-family/ChangeLog:
* c-pragma.cc (struct pragma_pp_data): Use (struct
internal_pragma_handler);
(c_register_pragma_1): Always register name and space for all pragmas.
If we're using the _pp data structure for all pragmas now, I'd think we
should rename it to remove _pp?
Thank you for the feedback. Do you think we should also keep the
"registered_pragma" variable rather than the "registered_pp_pragma"
variable then?
I think the single remaining variable should be called
"registered_pragmas", yes.
Jason