[antlr-interest] BUG (JAVA): Generics not permitted in Antlr rule parameter lists
Gavin Lambert
antlr at mirality.co.nz
Sun Nov 11 23:15:37 PST 2007
At 09:44 12/11/2007, Austin Hastings wrote:
> (tc=testCase[method1, method2, $tests]
Interesting; it appears to be the use of the $ here that annoys
it. If you remove either the $ or the preceding , then it
generates the correct number of commas in the call.
(My earlier test was passing a local variable, so didn't use the
$.)
Still probably a bug, but a weird one. At least the workaround is
straightforward :)
> : input '->' outputExpr
It's probably not a good idea to call something "input", as that's
a member of the parser base class itself.
More information about the antlr-interest
mailing list