[antlr-interest] rule += output option error...

Pady Srinivasan padysrini at hotmail.com
Thu Jan 1 07:59:32 PST 2009


I have a simple rule that returns a list...i get an error when compiling...

expressionList returns [ List exprLst ]
    :   e+=expression+  { $exprLst = $e; }
    ;

expression returns [int type, String val]
..
error(134): GwfWalker.g:90:9: rule '+=' list labels are not allowed w/o 
output option: e



Thx

-- pady 



More information about the antlr-interest mailing list