aboutsummaryrefslogtreecommitdiff
path: root/src/parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/parser.h')
-rw-r--r--src/parser.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/parser.h b/src/parser.h
index d8991c0..055350a 100644
--- a/src/parser.h
+++ b/src/parser.h
@@ -50,11 +50,19 @@ enum {
‘return rhs’ */
ASTRET,
+ /* Unary negation
+ ‘-rhs’ */
+ ASTUNNEG,
+
+ /* NOTE: Ensure that the enumerations defined above this comment do
+ not exceed 37 — the value of ‘%’ — or they will conflict with the
+ definitions below. */
+
/* Binary add
‘lhs + rhs’ */
ASTBINADD = '+',
- /* Binary sub
+ /* Binary subtraction
‘lhs - rhs’ */
ASTBINSUB = '-',