[antlr-interest] Is it possible to tell whether the source or header is being generated?

Luke A. Guest laguest at archangeli.co.uk
Sat May 26 09:07:57 PDT 2007


Hi,

basically, I was just wondering if in any template in the <language>.stg
file it is possible to determine whether the header orthe source is
currently being generated? i.e. inside lexer()?

Thanks,
Luke.




More information about the antlr-interest mailing list