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 3a97270..82ae9cc 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