gitweb on Svarog

projekti pod git sistemom za održavanje verzija -- projects under the git version control system
mjc2wsl - return does not need a condition. This makes the action system more likely...
authorDoni Pracner <quinnuendo@gmail.com>
Mon, 20 Jan 2014 00:26:25 +0000 (01:26 +0100)
committerDoni Pracner <quinnuendo@gmail.com>
Mon, 20 Jan 2014 00:26:25 +0000 (01:26 +0100)
src/mjc2wsl.java

index 3a9727031b389fd4833b5ee2f8026e5be3a9f0ea..82ae9cc5744182c0b5e87d494dd43c8f7ddea44f 100644 (file)
@@ -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: {
Svarog.pmf.uns.ac.rs/gitweb maintanance Doni Pracner