[antlr-interest] Re: ANTLR 2.7.6: are existing bugs being fixed?
F Reig
fermin.reig at gmail.com
Mon Apr 10 16:00:45 PDT 2006
On 4/7/06, F Reig <fermin.reig at gmail.com> wrote:
>
> Note that I'm not reporting a problem with my own grammar, but with
> one of the examples distributed with ANTLR 2.7.6. The output differs
> if C# or Java are generated.
After all, it's not a bug in ANTLR itself, but in the example. In cpp.g, replace
} catch (/*NoSuchElement*/Exception /*e*/) {
by
} catch (InvalidOperationException) {
in function uponEOF
Fermin
More information about the antlr-interest
mailing list