[antlr-interest] Strange bug in ANTLR version higher than 3.1.2

Sam Harwell sharwell at pixelminegames.com
Wed Nov 4 22:08:49 PST 2009


For the 3.2 version, try changing this:

CommonTreeNodeStream nodes = new CommonTreeNodeStream(tree);

To this:

BufferedTreeNodeStream nodes = new BufferedTreeNodeStream(tree);

-----Original Message-----
From: FranklinChen at cmu.edu [mailto:FranklinChen at cmu.edu] 
Sent: Wednesday, November 04, 2009 11:39 PM
To: Sam Harwell
Cc: Graham Wideman; antlr-interest at antlr.org
Subject: RE: [antlr-interest] Strange bug in ANTLR version higher than
3.1.2

> The 3.1.2 mark you see in the first set is a bug in the C# version of
> the Tool. It is actually a 3.2 version. Both versions I sent you
should
> be tested as "3.2" versions.

OK.  Well, it looks like there is no diff between your C# 3.2
generated Java sources and your Java 3.2 generated and my Java 3.2
generated, so I'm still not sure what the question is.  Using any of
these three generated sets of sources, the result when run raises an
exception.

-- 
Franklin


More information about the antlr-interest mailing list