[antlr-interest] Basic grammar problem
DevUnion Team
devunion at gmail.com
Sun Nov 4 07:26:01 PST 2007
Dear, Mats.
>>I've tried to write basic parser. which need to return value for input
>>string. String example: "parameter(1)". Parser need to return value
>>from predefined map: parameters.get(1). I can't understand where
>>problem is.
> Well, what *is* the problem?
> For me it outputs '2', just as expected.
> Mats
Thanks for you replay.
I've exception. And Error output is:
BR.recoverFromMismatchedToken
line 1:11 mismatched input ')' expecting P_END
I've runned parser from IDEA. How do you run the parser?
--
Best regards,
Vikar Liaskovich, DevUnion Team mailto:devunion at gmail.com
More information about the antlr-interest
mailing list