From: Doni Pracner Date: Wed, 12 Feb 2014 17:56:04 +0000 (+0100) Subject: mjc2wsl - minor updates to the print formating, the actions are now more easily disti... X-Git-Tag: v0.1.5~5 X-Git-Url: https://svarog.pmf.uns.ac.rs/gitweb/?a=commitdiff_plain;h=02e2c1fee13ee40f7dc1cb292de6ba53771d526f;p=mjc2wsl.git mjc2wsl - minor updates to the print formating, the actions are now more easily distiguished --- diff --git a/src/mjc2wsl.java b/src/mjc2wsl.java index fe9b0bd..858cae3 100644 --- a/src/mjc2wsl.java +++ b/src/mjc2wsl.java @@ -344,7 +344,7 @@ public class mjc2wsl{ while (op >= 0) { if (originalInComments) prl(createComment(describeOpCode(op), C_OC)); - prl("a" + counter + " == "); + prl(" a" + counter + " == "); if (genPrintForEachAddress) { prl("PRINT(\"a" + counter + "\");"); if (genPauseAfterEachAddress) @@ -562,7 +562,7 @@ public class mjc2wsl{ case return_: { // we let the actions return // there is nothing to clean up - prl("SKIP END b" + counter + " =="); + prl("SKIP\n END\n b" + counter + " =="); break; } case enter: { @@ -621,11 +621,11 @@ public class mjc2wsl{ op = get(); if (op >= 0) if (wasJump) - prl("SKIP END"); + prl("SKIP\n END"); else - prl("CALL a" + counter + " END"); + prl("CALL a" + counter + "\n END"); } - prl("\nSKIP END\nENDACTIONS;\n"); + prl("SKIP\n END\nENDACTIONS;\n"); prl(createStandardEnd()); }