From 9eb11724b95530a35e2a35a2f2ccb25cced8e511 Mon Sep 17 00:00:00 2001 From: Doni Pracner Date: Sun, 5 Jan 2014 21:38:51 +0100 Subject: [PATCH] mjc2wsl - enter processing the local variables --- src/mjc2wsl.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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: { -- 2.25.1