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

Terence Parr parrt at cs.usfca.edu
Fri Oct 20 13:48:05 PDT 2006


On Oct 20, 2006, at 12:15 PM, Bill Boese 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.

Did you change it to extend TreeParser not Parser?

Ter

>
> +++++++++++++++++++++++++++++++++++++++++++++++
>
> 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



More information about the antlr-interest mailing list