[antlr-interest] Newbie question: has anyone been able to build the PL/SQL Grammar?

Loring Craymer lgcraymer at yahoo.com
Fri Oct 20 14:14:14 PDT 2006


Bill--

Just delete that line.  ANTLR 2 treewalkers are
effectively k=1.

--Loring

--- Bill Boese <wboese at ptd.net> wrote:

> Hi:
>  
> I am trying to work with the PL/SQL grammar on the
> website at:
>  
>
http://www.antlr.org/grammar/1107752678378/PLSQLGrammar.g
>  
> and I am getting the errors below:
>  
> +++++++++++++++++++++++++++++++++++++++++++++++
>  
> C:\antlr-2.7.6\examples\plsql>java antlr.Tool
> PLSQLGrammar.g
> ANTLR Parser Generator   Version 2.7.6 (2005-12-22) 
>  1989-2005
> PLSQLGrammar.g:1029:9: Treewalkers only support k=1
> Exiting due to errors.
>  
> +++++++++++++++++++++++++++++++++++++++++++++++
>  
> The referenced line sets the option k = 4, so I am
> wondering if I am missing
> something obvious or if this
> was likely developed on a previous version of antlr
> (I'm using 2.7.6).
>  
> Thanks in advance,
>  
> Bill
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the antlr-interest mailing list