[antlr-interest] strange bug in AntlrWorks
Terence Parr
parrt at cs.usfca.edu
Sat Feb 26 08:46:43 PST 2011
yeah, AW is kinda hosed at moment in some ways. I need time to dig into it.
Ter
On Feb 26, 2011, at 2:23 AM, Douglas Godfrey wrote:
> I have a large combined grammar for SQL:2003 that I have just converted from
> the ISO BNF grammar.
>
> When I put the cursor over a Parser rule I get the normal syntax diagram.
>
> When I put the cursor over a Lexer rule I get the message:
> Cannot display rule "xxxx" because start state not found.
>
> The grammar file is names sql2003.g and the start rule is defined as the
> first parser rule in the grammar file.
>
> sql2003
> : ( sql_client_module_definition
> | externally_invoked_procedure
> | sql_invoked_procedure
> | sql_invoked_function
> | sql_procedure_statement
> )
> EOF
> ;
>
> I thought that the Lexer has no "Start State" as such and instead tries to
> invoke each Lexer rule in order.
>
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address
More information about the antlr-interest
mailing list