[antlr-interest] Grammar debugging.

Bharath Sundararaman Bharath.Sundararaman at starthis.com
Wed Apr 20 14:56:02 PDT 2005


Antlers,

I tried to debug my grammar by following the instructions on this site:
http://www.antlr.org/article/parse.trees/index.tml but I got the
following exception:

*************
java.util.EmptyStackException	at java.util.Stack.peek(Unknown Source)
at
this line:	ParseTreeRule root =
(ParseTreeRule)currentParseTreeRoot.peek();
*************

Any ideas? I know that the new ANTLR plug-in and Parseview versions will
be out soon. Can't wait, I guess.

Thanks,

B.

-----Original Message-----
From: antlr-interest-bounces at antlr.org
[mailto:antlr-interest-bounces at antlr.org] On Behalf Of swaroop choudhari
Sent: Wednesday, April 20, 2005 3:43 PM
To: antlr-interest at antlr.org
Subject: [antlr-interest] HTML grammer

hello,


i was looking for a html grammer on the antlr sie.
looks like the grammer file there is incorrect...(/grammer/html/html.g)

can someone point me the correct link.

regards
Choudhari


More information about the antlr-interest mailing list