This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [gomp] Parser for OpenMP directives


What do you think of creating/changing pragma registration function,
which will allow specifying that macro expansion should take place for
pragma name and that pragma tokens should be inserted into stream?
And I think that the special token can be CPP_PRAGMA, with the pragma
name as its value in the beginning of pragma token and empy CPP_PRAGMA
in the end.

If you like this variant, I would like to implement it.

-- 
  Dmitry


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]