[antlr-interest] list label without output

Terence Parr parrt at cs.usfca.edu
Tue Oct 23 03:53:24 PDT 2007


On Oct 23, 2007, at 6:12 PM, Guillaume Chavanon wrote:

> Hi All.
>
> Its seems impossible to use list labels in grammar without output.
> When I try generating my grammar Antlr complains with the following  
> error :
> error(134): ResolveSymbol.g:93:12: rule '+=' list labels are not  
> allowed w/o output option: ids
>
> Does somebody knows why?
>

Yes. :)  Basically, rules can have multiple return values.  Which  
should it pick?

Ter



More information about the antlr-interest mailing list