summaryrefslogtreecommitdiff
path: root/parse/ops.def
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2014-01-14 19:44:14 -0500
committerOri Bernstein <ori@eigenstate.org>2014-01-14 19:44:14 -0500
commit26fef326df126ced69c6eb4f531b487de37e23c7 (patch)
tree3f35a354bca4e70627111821ac7d61e82eef63ed /parse/ops.def
parenta14644877bbb7cbe45cbd006f2773a3e4b9008a7 (diff)
downloadmc-26fef326df126ced69c6eb4f531b487de37e23c7.tar.gz
Add support for break/continue in loops.
Yeah, I resisted until now. Oh well.
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 d7799ce..298ccb2 100644
--- a/parse/ops.def
+++ b/parse/ops.def
@@ -45,7 +45,9 @@ O(Osize, 1)
O(Ocall, 0)
O(Ocast, 1)
O(Oret, 1)
-O(Ojmp, 1)
+O(Ojmp, 0)
+O(Obreak, 0)
+O(Ocontinue, 0)
O(Ovar, 1)
O(Olit, 1)
O(Olbl, 1)