[gomp] Parser for OpenMP directives
Zack Weinberg
zack@codesourcery.com
Tue Mar 29 20:43:00 GMT 2005
Zack Weinberg <zack@codesourcery.com> writes:
>> The pragma namespace ("GCC", "STDC", "omp") might or might not be a
>> property of the #pragma special token rather than a separate token,
>> as might the following identifier naming the pragma in question.
>
> Since cpplib already has a bunch of machinery for mapping a pragma
> namespace + operation identifier to a callback routine, my inclination
> would be to continue to use this, and have the token value of the
> "__pragma" keyword be a pointer to the appropriate callback.
... and therefore, having/preserving separate tokens for the namespace
and operation would not be necessary. Just to be clear.
zw
More information about the Gcc-patches
mailing list