summaryrefslogtreecommitdiff
path: root/parse/ops.def
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2012-08-18 01:32:17 -0400
committerOri Bernstein <ori@eigenstate.org>2012-08-18 01:32:17 -0400
commitb7198a182264b7ef24dd1d03baca4c275361748b (patch)
tree69979f81d86866a93bb753460c77db1d35889a6f /parse/ops.def
parent5196e4c16239a9f593c4efa14819b70721006740 (diff)
downloadmc-b7198a182264b7ef24dd1d03baca4c275361748b.tar.gz
Change 'cons' to 'ucon', add uget.
Makes it clearer what operators act on unions.
Diffstat (limited to 'parse/ops.def')
-rw-r--r--parse/ops.def4
1 files changed, 3 insertions, 1 deletions
diff --git a/parse/ops.def b/parse/ops.def
index 1a39c86..1eb803a 100644
--- a/parse/ops.def
+++ b/parse/ops.def
@@ -1,3 +1,4 @@
+/* operator name, is it pure */
O(Obad, 1)
O(Oadd, 1)
O(Osub, 1)
@@ -48,7 +49,8 @@ O(Ojmp, 1)
O(Ovar, 1)
O(Olit, 1)
O(Olbl, 1)
-O(Ocons, 1)
+O(Oucon, 1)
+O(Ouget, 1)
O(Otup, 1)
O(Oarr, 1)
/* backend-only */