I have a treetop grammar like below:
This is working when I parse the expression:
there is a syntax node that matches "1234" with type ExprNumber. But, if I add parentheses to the rule like this:
It will not match the class ExprNumber. Why would this happen? |