[antlr-interest] C target, preincludes and postinclude

Ramanand Mandayam ramanand_mandayam at yahoo.com
Sat Jul 17 10:09:00 PDT 2010


I am curious to know why the preincludes is named with a 's' at the end while the postinclude does not have an 's' at the end.  

I had a typo in my grammar and specified it as @lexer::postincludes but the Antlr tool (with the C target option) did not generate any error messages -- took me a while to figure this one out.

Cheers

Ramanand


More information about the antlr-interest mailing list