I found the problem. It was a semicolon, at the end of the line, that i
missed to match in the rule. It stopped the lexing without emitting an
error. Is it an expected behavior?

Gokul.

On Thu, Feb 4, 2010 at 7:22 PM, Gokulakannan Somasundaram <
[email protected]> wrote:

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

List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe: 
http://www.antlr.org/mailman/options/antlr-interest/your-email-address

-- 
You received this message because you are subscribed to the Google Groups 
"il-antlr-interest" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/il-antlr-interest?hl=en.

Reply via email to