gitweb on Svarog
projekti pod git sistemom za održavanje verzija -- projects under the git version control system
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ec3c740)
raw | patch | inline | side by side (parent: ec3c740)
author | Doni Pracner <quinnuendo@gmail.com> | |
Wed, 8 Jan 2014 16:31:20 +0000 (17:31 +0100) | ||
committer | Doni Pracner <quinnuendo@gmail.com> | |
Wed, 8 Jan 2014 16:31:20 +0000 (17:31 +0100) |
src/mjc2wsl.java | patch | blob | history |
diff --git a/src/mjc2wsl.java b/src/mjc2wsl.java
index 886cd7d3ba0588bb4f413d5362e8e378c1b045e3..552fe9d33ee5ab6d18eccc67aec7a8c5e9ab629d 100644 (file)
--- a/src/mjc2wsl.java
+++ b/src/mjc2wsl.java
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 */
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) {
genPrintEStackOnChange = true;
} else if (args[i].compareToIgnoreCase("--genAll") == 0) {
genPrintEStackOnChange = true;
- addPrintForEachAddress = true;
- addPauseAfterEachAddress = true;
+ genPrintForEachAddress = true;
+ genPauseAfterEachAddress = true;
}i++;
}