From: Doni Pracner Date: Mon, 20 Jan 2014 00:26:25 +0000 (+0100) Subject: mjc2wsl - return does not need a condition. This makes the action system more likely... X-Git-Tag: v0.1.4~16 X-Git-Url: https://svarog.pmf.uns.ac.rs/gitweb/?a=commitdiff_plain;h=3382daace9411a815924946a61cde708428b6695;p=mjc2wsl.git mjc2wsl - return does not need a condition. This makes the action system more likely to be recursive (not a hybrid) --- 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: {