[antlr-interest] Different result using Java and Python runtime
Benjamin Niemann
pink at odahoda.de
Thu Sep 13 00:55:52 PDT 2007
Hello Tom,
Tom Klonikowski wrote:
> my name is Tom and i'm just creating my first parser using ANTLR for a
> Python-based project. Its fun so far :)
>
> I encountered a different behaviour of the Java and Python runtime for a
> certain grammar (appended below).
>
> Using the test input ": '$$$/context/property=value'" with the Java
> runtime i get the expected result:
> '$$$/context/property=value'.
>
> With Python i get:
> line 1:0 mismatched input ": '$$$/context/property=value'" expecting
> STRINGDECL
I'm not yet sure what causes that bug, but it works with the latest version
(so fresh, it is not even in the repository...).
I'll take a deeper look, so you'll have a patch to fix that show stopper
(and for a potential 3.0.2 release...).
--
Benjamin Niemann
Email: pink at odahoda dot de
WWW: http://pink.odahoda.de/
More information about the antlr-interest
mailing list