From 3382daace9411a815924946a61cde708428b6695 Mon Sep 17 00:00:00 2001 From: Doni Pracner Date: Mon, 20 Jan 2014 01:26:25 +0100 Subject: [PATCH] mjc2wsl - return does not need a condition. This makes the action system more likely to be recursive (not a hybrid) --- src/mjc2wsl.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mjc2wsl.java b/src/mjc2wsl.java index 3a97270..82ae9cc 100644 --- a/src/mjc2wsl.java +++ b/src/mjc2wsl.java @@ -496,9 +496,9 @@ public class mjc2wsl{ } case return_: { - prl("IF EMPTY?(mjvm_mstack) THEN CALL Z FI"); - //else we let things return - prl("END b"+counter+" =="); + //we let the actions return + // there is nothing to clean up + prl("SKIP END b"+counter+" =="); break; } case enter: { -- 2.25.1