From ee2c9a778ace87b38d0bb4ff2279a37e63e38ba2 Mon Sep 17 00:00:00 2001 From: Doni Pracner Date: Wed, 28 May 2014 00:32:30 +0200 Subject: [PATCH] fix for the optional generation of opcodes in comments --- src/mjc2wsl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mjc2wsl.java b/src/mjc2wsl.java index 97e61ac..a140ced 100644 --- a/src/mjc2wsl.java +++ b/src/mjc2wsl.java @@ -392,9 +392,9 @@ public class mjc2wsl{ prl("SKIP;\n ACTIONS a" + (14 + mainAdr) + " :"); int op = get(); while (op >= 0) { + prl(" a" + counter + " == "); if (originalInComments) prl(createComment(describeOpCode(op), C_OC)); - prl(" a" + counter + " == "); if (genPrintForEachAddress) { prl("PRINT(\"a" + counter + "\");"); if (genPauseAfterEachAddress) -- 2.25.1