[antlr-interest] Lexer Bug in latest build

Scott Fortmann-Roe sfortma1 at swarthmore.edu
Tue Mar 27 18:49:16 PDT 2007


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