I set buildAST = true;
I found something doesn't work when i defined a root.
for example:
test : ID op expr
op:
">"
| "<"
;
i want "op" to be the root of expression.
but i can't just write "op^". it's a fault.
However, when i write op suffix the operator ">"/"<". it's also unuseful.
What should i do? thx all~