On Fri, Feb 21, 2003 at 01:35:06PM +0100, Lars Segerlund wrote:
What do you think about a separate parser for the 'foo bar baz' part ?
That's exactly what we should have.
ie. if the tokenizer returns a __builtin_pragma then we call a function
that expects the next tokens to be in a good 'shape'. I will try to follow
the C++ recursive descent style for our grammar. I hope that this way
GCC folks won't be too hostile to our changes.
i.e. we can make an openMP directive parser, then we only ( tm ;-) ),
have to drop it into the handling of the pragma ? ( I seem to recall
that gcc has a macro to register a handler for a builtin pragma ? ).
Or is this to simple ( i.e. I am missing something ? )
No, it's not too simple: this is exactly what I'll try to implement.
Seb
_______________________________________________
Gomp-discuss mailing list
address@hidden
http://mail.nongnu.org/mailman/listinfo/gomp-discuss