summaryrefslogtreecommitdiff
path: root/parse/ops.def
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2018-03-06 11:47:45 -0800
committerOri Bernstein <ori@markovcorp.com>2018-03-06 11:47:45 -0800
commit7b024df82962f4bfe24db5b74fe2a92aac26cf8e (patch)
tree71c499cbc5964b8a9823fef21d1e8b09ee98c0b3 /parse/ops.def
parent27b4f894b3b7456b64908ad8c2d50ba66ebb513a (diff)
downloadmc-7b024df82962f4bfe24db5b74fe2a92aac26cf8e.tar.gz
Add ternary operator.
Diffstat (limited to 'parse/ops.def')
-rw-r--r--parse/ops.def1
1 files changed, 1 insertions, 0 deletions
diff --git a/parse/ops.def b/parse/ops.def
index dd9447a..c29ca1e 100644
--- a/parse/ops.def
+++ b/parse/ops.def
@@ -55,6 +55,7 @@ O(Oucon, 1, OTmisc, "`")
O(Otup, 1, OTmisc, NULL)
O(Ostruct, 1, OTmisc, NULL)
O(Oarr, 1, OTmisc, NULL)
+O(Otern, 1, OTmisc, "?:")
/* all below this point are backend-only */
O(Odead, 0, OTmisc, "DEAD") /* dead code */