[antlr-interest] List Label (+=) without specifying grammar output

Diehl, Matthew J matthew.j.diehl at intel.com
Tue Jun 5 09:13:10 PDT 2007


The problem with your code is your parenthesis.  It should have:

  : ^(word=TOKEN (args+=expr)*)  ... 

Instead of:

  : ^(word=TOKEN args+=expr*) .... 


More information about the antlr-interest mailing list