summaryrefslogtreecommitdiffstats
path: root/compile.c
diff options
context:
space:
mode:
authorStephen Dolan <mu@netsoc.tcd.ie>2013-05-13 15:00:05 +0100
committerStephen Dolan <mu@netsoc.tcd.ie>2013-05-13 15:00:05 +0100
commit8c708f3c7aece2429adb626c9031b3e2de5051c3 (patch)
treebf06bc8c68044f829c35e27228737a91b8a8b544 /compile.c
parentb0e65d149f76c081d5840b4156b9a13516429732 (diff)
Refactor path logic.
Diffstat (limited to 'compile.c')
-rw-r--r--compile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/compile.c b/compile.c
index 77dfd904..de9c14c3 100644
--- a/compile.c
+++ b/compile.c
@@ -275,7 +275,7 @@ block gen_call(const char* name, block args) {
block gen_subexp(block a) {
- return BLOCK(gen_op_simple(DUP), a, gen_op_simple(SWAP));
+ return BLOCK(gen_op_simple(SUBEXP_BEGIN), a, gen_op_simple(SUBEXP_END));
}
block gen_both(block a, block b) {