[antlr-interest] Re: Bug in antlr.py (Python runtime module)
wolfgang haefelinger
ora.et.labora at web.de
Sun May 1 12:44:06 PDT 2005
Hello Benjamin,
thanks for reporting this problem. There's no need to report bugs
in the jGuru forum. This mailing list will do as well. You may
also send Python related problems (or wishes) directly to me -
ora dot et dot labora at web dot de (Wolfgang Haefelinger).
Thanks again,
Wolfgang.
"Benjamin Niemann" <pink at odahoda.de> wrote in
message news:d4oi4o$mt2$1 at sea.gmane.org...
> Hello,
>
> I just started to use my favourite parser generator with my favourite
> programming language ;)
>
> Here's a small bug that a have found:
> In antlr.py from 2.7.5, line 242-250
>
> -----------------------------------------------------------------------
> sb.append("expecting char ")
> if self.mismatchType == MismatchedCharException.NOT_RANGE:
> sb.append("NOT ")
> sb.append("in range: ")
> appendCharName(sb, self.expecting)
> sb.append("..")
> appendCharName(sb, self.upper)
> sb.append(", found ")
> appendCharName(sb, self.foundChar)
> -----------------------------------------------------------------------
>
> This should be 3*'self.appendCharName' (as it is correctly done a few
> lines
> above and below).
>
> The FAQ says that I should post bug reports in the jGuru forum, but I'm
> not
> in the mood today to register on just another website and I'm working on a
> slow computer where browsing website with flash ads is quite a pain. I
> could also directly mail to one of the 'antlr for python' maintainers.
> What's the preferred way? (Only if I find more issues or course ;)
>
> --
> Benjamin Niemann
> Email: pink at odahoda dot de
> WWW: http://www.odahoda.de/
>
>
More information about the antlr-interest
mailing list