From 02e2c1fee13ee40f7dc1cb292de6ba53771d526f Mon Sep 17 00:00:00 2001 From: Doni Pracner Date: Wed, 12 Feb 2014 18:56:04 +0100 Subject: [PATCH] mjc2wsl - minor updates to the print formating, the actions are now more easily distiguished --- src/mjc2wsl.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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()); } -- 2.25.1