[antlr-interest] bad matching in grammar
Martin Kortmann
email at kortmann.de
Sun Aug 5 11:55:26 PDT 2007
Warner Onstine schrieb:
> Ok, I've done some reworking and am running into some issues with my
> grammar and I can't seem to figure out what I'm doing wrong. Here are
> the current errors I'm getting with the attached grammar and test
> file.
>
> line 1:11 no viable alternative at character '.'
> line 3:10 no viable alternative at character ' '
> line 1:0 mismatched input 'package org' expecting 'package'
> line 3:0 mismatched input 'model Band' expecting 'model'
>
> Thanks for all the help in understanding what in the world I'm doing wrong ;-).
Why the WS, NEWLINE and QIDStar rules?
Martin
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Model.g
Url: http://www.antlr.org/pipermail/antlr-interest/attachments/20070805/9f0baebb/attachment.pl
More information about the antlr-interest
mailing list