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: 0cd0e9e)
raw | patch | inline | side by side (parent: 0cd0e9e)
author | Doni Pracner <quinnuendo@gmail.com> | |
Sun, 5 Jan 2014 20:27:27 +0000 (21:27 +0100) | ||
committer | Doni Pracner <quinnuendo@gmail.com> | |
Sun, 5 Jan 2014 20:27:27 +0000 (21:27 +0100) |
src/mjc2wsl.java | patch | blob | history |
diff --git a/src/mjc2wsl.java b/src/mjc2wsl.java
index 917978c8638ab26c787891b2b378ed579594e9a8..76d225b5c73c5f4b3d08b0bc47e966586b13813f 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;
+
/** Constant used for marking a regular comment from the original file */
public static final char C_REG = ' ';
/**
if (originalInComments)
prl(createComment(describeOpCode(op), C_OC));
prl("a" + counter + " == ");
+ if (addPrintForEachAddress) {
+ prl("PRINT(\"a"+counter+"\");");
+ if (addPauseAfterEachAddress)
+ prl("debug_disposable_string := @Read_Line(Standard_Input_Port);");
+ }
switch (op) {
case load: {
prl(cmdToEStack(loc(get())));