[antlr-interest] Section for C grammar that follow macro definitions

Kieran Simpson kierans777 at gmail.com
Wed Aug 29 04:44:00 PDT 2012


In the C target FAQ 
(http://www.antlr.org/wiki/display/ANTLR3/FAQ+-+C+Target) there's a 
question "SKIP() vs skip() in 'C' runtime".  As part of the answer there 
is this:

"In an @section that follows the macro definition of SKIP"

What section is that?  In a similar fashion, I want to embed some code 
into my tree grammar that will make use of the macros (eg: MATCHT), but 
using @postinclude results in my static function being inserted before 
the macro definitions.

How can I get embedded code after the macro definitions please?

Cheers,


More information about the antlr-interest mailing list