From 07e4f84fba5ff6c4714b9ddacabff2d9bea57326 Mon Sep 17 00:00:00 2001 From: Doni Pracner Date: Wed, 8 Jan 2014 23:27:18 +0100 Subject: [PATCH] mjc2wsl - call and return do not need to work with MStack --- src/mjc2wsl.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/mjc2wsl.java b/src/mjc2wsl.java index 05a8a32..df846c9 100644 --- a/src/mjc2wsl.java +++ b/src/mjc2wsl.java @@ -406,16 +406,13 @@ public class mjc2wsl{ } case call: { - prl(cmdToMStack(counter+2)); prl("CALL a" + (counter + get2()) + ";"); break; } case return_: { - prl("IF EMPTY?(mjvm_mstack) THEN CALL Z ELSE"); + prl("IF EMPTY?(mjvm_mstack) THEN CALL Z FI"); //else we let things return - prl(cmdFromMStack("tempa")); - prl("SKIP FI"); prl("END b"+counter+" =="); break; } -- 2.25.1