From: Doni Pracner Date: Sun, 5 Jan 2014 20:38:51 +0000 (+0100) Subject: mjc2wsl - enter processing the local variables X-Git-Tag: v0.1.4~41 X-Git-Url: https://svarog.pmf.uns.ac.rs/gitweb/?a=commitdiff_plain;h=9eb11724b95530a35e2a35a2f2ccb25cced8e511;p=mjc2wsl.git mjc2wsl - enter processing the local variables --- diff --git a/src/mjc2wsl.java b/src/mjc2wsl.java index 76d225b..f05d271 100644 --- a/src/mjc2wsl.java +++ b/src/mjc2wsl.java @@ -410,8 +410,11 @@ public class mjc2wsl{ case enter: { prl(createComment("enter not fully procesed yet")); message("enter not fully procesed yet", M_WAR); + int parameters = get(); + get(); - get(); + for (int i = parameters-1; i >= 0; i--) + prl(cmdFromEStack("mjvm_loc" + i)); break; } case exit: {