[antlr-interest] preserving epsilon derivations when building trees

Michael LeBlanc Mike at LeBlanc-Engineering.com
Mon Nov 12 08:21:53 PST 2007


Replace, for example, 'static'? by

   staticOrEmpty : 'static' | -> EMPTY ;

Add EMPTY to your tokens {}.


More information about the antlr-interest mailing list