[antlr-interest] error with modulo operator in tree grammar action
Michael Bedward
michael.bedward at gmail.com
Thu Jan 29 18:10:49 PST 2009
Hello all,
I search the list for this but only found a related bug report - no solution.
I have a rule and associated action (java) in my tree grammar...
expr: ^(MOD a=expr b=expr) {$value = a % b;}
This provokes get an invalid string template error. I imagine there
must be some simple option or similar that I'm missing (?)
Michael
More information about the antlr-interest
mailing list