[antlr-interest] Bug with Java Module Operator

Scott Fortmann-Roe scottfr at gmail.com
Tue May 8 14:08:02 PDT 2007


Using AST rewrite rules, the following throws an error:

(op+='!'|'not')* negationExpr 	-> {$op != null && ($op.size() %
2)==1}? ^(NOT negationExpr)

Something about invalid string template shorthand '%'.

ANTLR 3.0b7.

Looks like a bug.

-Scott

-- 
Scott Fortmann-Roe
500 College Ave
Swarthmore, Pa 19081
(510) 866-5296


More information about the antlr-interest mailing list