[antlr-interest] debugging and testing

Terence Parr parrt at cs.usfca.edu
Mon Apr 12 14:31:44 PDT 2004


On Apr 12, 2004, at 2:17 PM, ronald.petty at milliman.com wrote:

>
> Did you mean that java.util.Stack should be "brought in" through the 
> grammar into VB6Parser?
>
> > ANTLR Parser Generator   Version 2.7.3   1989-2004 jGuru.com
>  > ./build/VB6Parser.java:41: cannot find symbol
>  > symbol  : class Stack
>  > location: class VB6Parser
>  >         protected Stack currentParseTreeRoot = new Stack();
>
> Because if so, that would probably fix that error.  However if that is 
> the case, the example on the site I think is missing it (I can't find 
> import java.util.Stack in the grammar).

Yeah, I wonder why that worked...hmm...it would seem an import is 
required.

I'll update the website per your findings when you finish. Thanks!

Ter
--
Professor Comp. Sci., University of San Francisco
Creator, ANTLR Parser Generator, http://www.antlr.org
Cofounder, http://www.jguru.com
Cofounder, http://www.knowspam.net enjoy email again!
Cofounder, http://www.peerscope.com pure link sharing





 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/antlr-interest/

<*> To unsubscribe from this group, send an email to:
     antlr-interest-unsubscribe at yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/
 



More information about the antlr-interest mailing list