[antlr-interest] grammar inheritance & warnings

stefan stefan at amiq.ro
Wed May 25 00:00:43 PDT 2005


Hi, 

     I have two grammars, let's say A & B like :   

A extends TreeParser;
...................
B extends A; // it only modifies existing rules
...................

     In the generation phase I get a lot of messages like:

[antlr] /path/to/expandedB.g:1319:33: warning:Rule 'some_rule' returns a 
value.

     Is there a way to turn off all those messages?

tx,
      stefan.


More information about the antlr-interest mailing list