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: dd4a626)
raw | patch | inline | side by side (parent: dd4a626)
author | Doni Pracner <quinnuendo@gmail.com> | |
Tue, 26 Nov 2013 19:51:46 +0000 (20:51 +0100) | ||
committer | Doni Pracner <quinnuendo@gmail.com> | |
Tue, 26 Nov 2013 19:51:46 +0000 (20:51 +0100) |
src/mjc2wsl.java | patch | blob | history |
diff --git a/src/mjc2wsl.java b/src/mjc2wsl.java
index 521be052fffd8f23a56a4537793fc4a85227245d..c269f20ef53852419341bd77ad9fd374c888d976 100644 (file)
--- a/src/mjc2wsl.java
+++ b/src/mjc2wsl.java
prl(cmdToEStack("tempres"));
break;
}
+ case sub: {
+ prl(getTopTwo());
+ prl("tempres := tempb - tempa;");
+ prl(cmdToEStack("tempres"));
+ break;
+ }
+ case mul: {
+ prl(getTopTwo());
+ prl("tempres := tempb * tempa;");
+ prl(cmdToEStack("tempres"));
+ break;
+ }
case div: {
prl(getTopTwo());
prl("tempres := tempb / tempa;");