[antlr-interest] Using the ANTLRworks Debugger

Terence Parr parrt at cs.usfca.edu
Sun Nov 19 10:48:47 PST 2006


On Nov 19, 2006, at 9:44 AM, Randall R Schulz wrote:

> Hi,
>
> When I attempt to launch the debugger in ANTLRworks (stand-alone,
> versino 1.0b6) I always get this after submitting the input:
>
> Grammar compilation phase:
>
> [09:36:26] warning(208): /dar/tau/src/tau/tstp/TSTP.g:1090:1: The  
> following token definitions are unreachable: SingleQuoted
> [09:36:28] Note: /dar/tau/src/tau/tstp/TSTPParser.java uses  
> unchecked or unsafe operations.
> [09:36:28] Note: Recompile with -Xlint:unchecked for details.

Hiyo Randall!

This means that you have two lexer rules that match same thing and  
SingleQuoted is after the other so it gets tossed out.

It generates no code hence the compile errors.

Ter




More information about the antlr-interest mailing list