[antlr-interest] bad matching in grammar

Warner Onstine warnero at gmail.com
Sun Aug 5 11:37:42 PDT 2007


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 ;-).

-warner

-- 
Warner Onstine - Programmer/Author
New book on Tapestry 4!
Tapestry 101 available at
http://sourcebeat.com/books/tapestrylive.html
warner at warneronstine.com
http://warneronstine.com/blog
-------------- next part --------------
A non-text attachment was scrubbed...
Name: package.model
Type: application/octet-stream
Size: 50 bytes
Desc: not available
Url : http://www.antlr.org/pipermail/antlr-interest/attachments/20070805/b5edd214/attachment.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Model.g
Type: application/octet-stream
Size: 1059 bytes
Desc: not available
Url : http://www.antlr.org/pipermail/antlr-interest/attachments/20070805/b5edd214/attachment-0001.obj 


More information about the antlr-interest mailing list