[antlr-interest] Tree Rewrite doubt | errors on parser generation

Terence Parr parrt at cs.usfca.edu
Tue Mar 13 14:00:11 PDT 2007

On Feb 24, 2007, at 9:20 AM, Miguel Ping wrote:

> I figure out how to port those rules to antl3, it is quite simple:
> sql_statement: sql_command (SEMI)? -> ^(SQL_STATEMENT $sql_statement);
> You use the $rulename syntax. Hope it helped other than myself :)

Try $sql_command in rewrite. ;)


More information about the antlr-interest mailing list