gitweb on Svarog

projekti pod git sistemom za održavanje verzija -- projects under the git version control system
mjc2wsl - enter processing the local variables
authorDoni Pracner <quinnuendo@gmail.com>
Sun, 5 Jan 2014 20:38:51 +0000 (21:38 +0100)
committerDoni Pracner <quinnuendo@gmail.com>
Sun, 5 Jan 2014 20:38:51 +0000 (21:38 +0100)
src/mjc2wsl.java

index 76d225b5c73c5f4b3d08b0bc47e966586b13813f..f05d271f4b8055b5fc4dc31220d2c3be48d50335 100644 (file)
@@ -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: {
Svarog.pmf.uns.ac.rs/gitweb maintanance Doni Pracner