[antlr-interest] How to stop lexer reporting errors to standard output?

Gavin Lambert antlr at mirality.co.nz
Thu Aug 16 01:58:16 PDT 2007


At 20:20 16/08/2007, Thomas Brandon wrote:
 >Not familiar with C# runtime but I think that should be
 >@lexer::members not @lexer::override. Couldn't see any reference 

 >to override action scope in the C# target.

Actually that reminds me: maybe ANTLR should emit a warning if an 
action is present in the grammar but not used anywhere in the 
target language template file?  That'd help catch typos and 
related confusion.



More information about the antlr-interest mailing list