[antlr-interest] Compiling errors with antlrworks

Scott Amort jsamort at gmail.com
Tue Jul 11 12:52:28 PDT 2006


Hi Deviad,

Herumor wrote:
> I'm creating this grammar for generating a Java sub-languge as an
> exercise and I'm having some compiling errors.
> http://rifers.org/paste/show/1096

The error seems pretty self-explanatory,

'myjavagrammar.g:4:9: unexpected token: ('

You are using round brackets to enclose your options, instead of {}.

Best,
Scott


More information about the antlr-interest mailing list