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: c207f4b)
raw | patch | inline | side by side (parent: c207f4b)
author | Doni Pracner <quinnuendo@gmail.com> | |
Wed, 30 Jul 2014 17:52:36 +0000 (19:52 +0200) | ||
committer | Doni Pracner <quinnuendo@gmail.com> | |
Wed, 30 Jul 2014 17:52:36 +0000 (19:52 +0200) |
src/com/quemaster/transformations/mjc2wsl/mjc2wsl.java | patch | blob | history |
diff --git a/src/com/quemaster/transformations/mjc2wsl/mjc2wsl.java b/src/com/quemaster/transformations/mjc2wsl/mjc2wsl.java
index d50c5a4b9827d107d7de29b5608d6aa2d7c9b6fc..c890fefed757c443c72e6ae48d3ac3ba5f1fcad5 100644 (file)
if (genPrintForEachAddress) {
prl("PRINT(\"a" + mjInput.getCounter() + "\");");
if (genPauseAfterEachAddress)
- prl("debug_disposable_string := @Read_Line(Standard_Input_Port);");
+ prl("@Read_Line_Proc(VAR debug_disposable_string, Standard_Input_Port);");
}
switch (op) {
case load: {
}
case read: {
prl(createStartVar("tempa"));
- prl("tempa := @String_To_Num(@Read_Line(Standard_Input_Port));");
+ prl("@Read_Line_Proc(VAR tempa, Standard_Input_Port);");
+ prl("tempa := @String_To_Num(tempa);");
prl(createToEStack("tempa"));
prl(createEndVar());
break;