[cfe-dev] How difference of implement pragma handler in lexer and parser

Douglas Gregor dgregor at apple.com
Wed Jun 30 08:33:51 PDT 2010


On Jun 29, 2010, at 6:09 PM, Pisit Makpaisit wrote:

> Thank you.
> 
> Can I build and add node to AST in pragma's parsing?

Yes. The parser can make calls through the Action interface to Sema, which constructs the AST.

	- Doug





More information about the cfe-dev mailing list