summaryrefslogtreecommitdiff
path: root/parse/ops.def
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2012-06-24 20:13:53 -0400
committerOri Bernstein <ori@eigenstate.org>2012-06-24 20:13:53 -0400
commitb0ced7c8189081449ffa6073d134a53898cba89f (patch)
tree5d432bb2f4b16cb6d154562cef16ac2d561c7122 /parse/ops.def
parent6a4f50b69edba3548b265cbcb99c5dbd7ada04c5 (diff)
downloadmc-b0ced7c8189081449ffa6073d134a53898cba89f.tar.gz
Add parsing for union constructors.
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 bf15182..92f0f71 100644
--- a/parse/ops.def
+++ b/parse/ops.def
@@ -48,6 +48,7 @@ O(Ojmp, 1)
O(Ovar, 1)
O(Olit, 1)
O(Olbl, 1)
+O(Ocons, 1)
/* backend-only */
O(Ocjmp, 1) /* conditional jump */
O(Oload, 1) /* load from memory */