[antlr-interest] ANTLR Lexer stops reading the file
Gokulakannan Somasundaram
gokul007 at gmail.com
Thu Feb 4 05:52:26 PST 2010
Hi,
I am faced with a problem, where in some of the statements that have to
get parsed are not getting parsed. When i tried the remote debugging, it is
saying the input has terminated, whereas there are further lines in the file
to be read and parsed.
I am attaching the source of the Lexer, Parser(with Templates) and the
input file and Main.java.
I tried remote debugging the stuff and the tokens are not getting
generated after a point. In the input file test.bdf, there is a portion like
this
dclform
THROBBER_SERVLET001:
"loading" := "true"; */* Things are terminating here
*/*
THROBBER_SERVLET002:
"loading" := "true";
Can anyone help me on this?
When i ran it like "java Main test.bdf", i am facing this issue.
Thanks,
Gokul.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: BDF_Lexer.g
Type: application/octet-stream
Size: 3837 bytes
Desc: not available
Url : http://www.antlr.org/pipermail/antlr-interest/attachments/20100204/a2d2d6c0/attachment.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: BDF_Parser.g
Type: application/octet-stream
Size: 4962 bytes
Desc: not available
Url : http://www.antlr.org/pipermail/antlr-interest/attachments/20100204/a2d2d6c0/attachment-0001.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.bdf
Type: application/octet-stream
Size: 6011 bytes
Desc: not available
Url : http://www.antlr.org/pipermail/antlr-interest/attachments/20100204/a2d2d6c0/attachment-0002.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: JMX_Templates.stg
Type: application/octet-stream
Size: 2487 bytes
Desc: not available
Url : http://www.antlr.org/pipermail/antlr-interest/attachments/20100204/a2d2d6c0/attachment-0003.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Main.java
Type: application/octet-stream
Size: 1280 bytes
Desc: not available
Url : http://www.antlr.org/pipermail/antlr-interest/attachments/20100204/a2d2d6c0/attachment-0004.obj
More information about the antlr-interest
mailing list