summaryrefslogtreecommitdiff
path: root/impl/EquationSystem.g
diff options
context:
space:
mode:
Diffstat (limited to 'impl/EquationSystem.g')
-rw-r--r--impl/EquationSystem.g2
1 files changed, 1 insertions, 1 deletions
diff --git a/impl/EquationSystem.g b/impl/EquationSystem.g
index 07e8e71..cec400f 100644
--- a/impl/EquationSystem.g
+++ b/impl/EquationSystem.g
@@ -31,7 +31,7 @@ expr : '(' expr GREATER_EQUAL expr QUESTION_MARK expr ')' -> ^(GUARD expr expr e
term : NUMBER
| VARIABLE
| '-'^ term
- | '('! expr ')'! ;
+ | '('! maxExpr ')'! ;
NUMBER : (DIGIT)+ ;