[antlr-interest] Lexer Bug in latest build
Terence Parr
parrt at cs.usfca.edu
Tue Mar 27 18:50:47 PDT 2007
Yeah, i'm gutting the set manipulation today...ugh. I've added lots
of tests and finding all sorts of crap. Steadily working...dead
tomorrow, will work again on Thu.
Ter
On Mar 27, 2007, at 6:49 PM, Scott Fortmann-Roe wrote:
> Hi,
>
> In the latest build (Mar 26) the following lexer rule
>
> fragment CHAR
> : ('a'..'z')|('A'..'Z')
> ;
>
> Results in the following errors when I use the antlr tool on it:
>
> ...syntax error: buildnfa <AST>:Line#:4:unexpected AST node: BLOCK
> ...syntax error: buildnfa <AST>:Line#:15:unexpected AST node: BLOCK
> ...syntax error: buildnfa <AST>:Line#:4:unexpected AST node: BLOCK
> ...syntax error: buildnfa <AST>:Line#:15:unexpected AST node: BLOCK
>
> The rule worked fine in b6.
>
> -Scott
>
> --
> Scott Fortmann-Roe
> 500 College Ave
> Swarthmore, Pa 19081
> (510) 866-5296
>
>
>
> --
> Scott Fortmann-Roe
> 500 College Ave
> Swarthmore, Pa 19081
> (510) 866-5296
More information about the antlr-interest
mailing list