[antlr-interest] Problem while compiling grammar file - regd.

ASHOK REDDY asoka250 at gmail.com
Fri Aug 22 13:31:36 PDT 2008


Hello List,

I am getting the following error  "Unexpected token:lexer", in grammar
generated file, in which the actual grammar file is part of a larger maven
project. The compilation is done using antlr v3.0.1 runtime, which is
included in configuration of the maven project. The error shows up in DOT_.g
file, generated from DOT.g file. Any help is appreciated on  how to  debug
the error. The list is awesome in teaching the How to's of Antlr, which is
otherwise a difficult tool to get along with. Attached is the DOT file and
DOT_.g file generated from it.
-- 
Regards,
Ashok R Varikuti
Graduate Research Assistant
CIS Dept, Kansas State University
785-304-2401
ashokv at ksu.edu
(http://www.cis.ksu.edu/~ashokv)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20080822/c110b532/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DOT.g
Type: application/octet-stream
Size: 2714 bytes
Desc: not available
Url : http://www.antlr.org/pipermail/antlr-interest/attachments/20080822/c110b532/attachment.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DOT__.g
Type: application/octet-stream
Size: 3490 bytes
Desc: not available
Url : http://www.antlr.org/pipermail/antlr-interest/attachments/20080822/c110b532/attachment-0001.obj 


More information about the antlr-interest mailing list