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. ;) Ter