[antlr-interest] Unexpected token at the end of my grammar file
Jim Idle
jimi at temporal-wave.com
Thu May 31 15:58:26 PDT 2007
This usually means that you started something like an action { but
missed off the }
Jim
> -----Original Message-----
> From: antlr-interest-bounces at antlr.org [mailto:antlr-interest-
> bounces at antlr.org] On Behalf Of troy runkel
> Sent: Thursday, May 31, 2007 1:32 PM
> To: antlr-interest at antlr.org
> Subject: [antlr-interest] Unexpected token at the end of my grammar
> file
>
> Greetings,
>
> I've just recently started working with ANTLR v3 and am in the process
> of putting together a T-SQL grammar. Whenever I run ANTLR on the
> grammar file I get the following error message.
>
> ANTLR Parser Generator Version 3.0 (May 17, 2007) 1989-2007
> error(100): TSQL.g:1630:1: syntax error: antlr: TSQL.g:1630:1:
> unexpected token: null
>
> The error occurs on the last line of the grammar file, which is blank.
> Any ideas what might be causing the error message? Thanks.
>
> Troy Runkel
More information about the antlr-interest
mailing list