aboutsummaryrefslogtreecommitdiffhomepage
path: root/expressions.h
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2012-11-12 06:26:09 +0100
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2012-11-12 06:26:09 +0100
commit50de1043dc325c8e1adda94c6113607e741d4015 (patch)
tree46ffeb55fa3b5931bc1125858de6bf394487e5d4 /expressions.h
parent59eb0628db77e1145db797406e4de9f97b70d8e2 (diff)
downloadsciteco-50de1043dc325c8e1adda94c6113607e741d4015.tar.gz
various arithmetic expression fixes: SUB must have higher precedence than ADD; fixed num_sign (unary minus) handling
Diffstat (limited to 'expressions.h')
-rw-r--r--expressions.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/expressions.h b/expressions.h
index ef41b15..af501bb 100644
--- a/expressions.h
+++ b/expressions.h
@@ -114,8 +114,8 @@ public:
OP_MUL, // *
OP_DIV, // /
OP_MOD, // ^/
- OP_ADD, // +
OP_SUB, // -
+ OP_ADD, // +
OP_AND, // &
OP_OR, // #
// pseudo operators: