[antlr-interest] ANTLR Grammar error - Illegal token.
rkevinburton at charter.net
rkevinburton at charter.net
Mon Aug 4 07:33:33 PDT 2008
I am checking my grammar and getting the following errors:
[09:11:21] error(100): ECMAScript.g:1530:2: syntax error: antlr: ECMAScript.g:1530:2: unexpected token: :
[09:11:21] error(100): ECMAScript.g:1548:2: syntax error: antlr: ECMAScript.g:1548:2: unexpected token: :
[09:11:21] error(100): ECMAScript.g:1555:5: syntax error: antlr: ECMAScript.g:1555:5: unexpected token: scope
When I look at the lines indicated I don't see a problem. Moreover I don't see a reference to the token that is "unexpected". Would someone with more experience with ANTLR than me please look at the attached grammar and see if you can see what is wrong?
Thank you.
Kevin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ECMAScript.g
Type: application/octet-stream
Size: 33852 bytes
Desc: not available
Url : http://www.antlr.org/pipermail/antlr-interest/attachments/20080804/c9fd64e9/attachment-0001.obj
More information about the antlr-interest
mailing list