summaryrefslogtreecommitdiff
path: root/impl/EquationSystem.g
diff options
context:
space:
mode:
authorCarlo Zancanaro <carlo@pc-4w14-0.cs.usyd.edu.au>2012-07-10 13:02:28 +1000
committerCarlo Zancanaro <carlo@pc-4w14-0.cs.usyd.edu.au>2012-07-10 13:02:28 +1000
commiteaca4d39f176acbcc567d0cb18dd9fb6c92ad60d (patch)
tree9c4da52ed0af6484963d61b3477463c621604d10 /impl/EquationSystem.g
parentf9fc35785b53aa097a09ab1b865d33497ee1802e (diff)
A few other changes that were needed for tests
I must have forgotten to commit them earlier. How annoying.
Diffstat (limited to 'impl/EquationSystem.g')
-rw-r--r--impl/EquationSystem.g1
1 files changed, 1 insertions, 0 deletions
diff --git a/impl/EquationSystem.g b/impl/EquationSystem.g
index 3a6598a..07e8e71 100644
--- a/impl/EquationSystem.g
+++ b/impl/EquationSystem.g
@@ -30,6 +30,7 @@ expr : '(' expr GREATER_EQUAL expr QUESTION_MARK expr ')' -> ^(GUARD expr expr e
term : NUMBER
| VARIABLE
+ | '-'^ term
| '('! expr ')'! ;