From f25da8c872d094e151a362529b68af80d449accf Mon Sep 17 00:00:00 2001 From: Doni Pracner Date: Wed, 8 Jan 2014 17:31:20 +0100 Subject: [PATCH] mjc2wsl - minor - rename private vars for pause/print on address jumps --- src/mjc2wsl.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/mjc2wsl.java b/src/mjc2wsl.java index 886cd7d..552fe9d 100644 --- a/src/mjc2wsl.java +++ b/src/mjc2wsl.java @@ -32,8 +32,8 @@ public class mjc2wsl{ out.println("total errors:"+messageCounters[M_ERR]+" warnings:"+messageCounters[M_WAR]); } - private boolean addPauseAfterEachAddress=false, - addPrintForEachAddress = false, + private boolean genPauseAfterEachAddress=false, + genPrintForEachAddress = false, genPrintEStackOnChange = false; /** Constant used for marking a regular comment from the original file */ @@ -300,9 +300,9 @@ public class mjc2wsl{ if (originalInComments) prl(createComment(describeOpCode(op), C_OC)); prl("a" + counter + " == "); - if (addPrintForEachAddress) { + if (genPrintForEachAddress) { prl("PRINT(\"a"+counter+"\");"); - if (addPauseAfterEachAddress) + if (genPauseAfterEachAddress) prl("debug_disposable_string := @Read_Line(Standard_Input_Port);"); } switch (op) { @@ -535,8 +535,8 @@ public class mjc2wsl{ genPrintEStackOnChange = true; } else if (args[i].compareToIgnoreCase("--genAll") == 0) { genPrintEStackOnChange = true; - addPrintForEachAddress = true; - addPauseAfterEachAddress = true; + genPrintForEachAddress = true; + genPauseAfterEachAddress = true; }i++; } -- 2.25.1