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: 34d91ce)
raw | patch | inline | side by side (parent: 34d91ce)
author | Doni Pracner <quinnuendo@gmail.com> | |
Sat, 7 Sep 2013 19:18:16 +0000 (21:18 +0200) | ||
committer | Doni Pracner <quinnuendo@gmail.com> | |
Sat, 7 Sep 2013 19:18:16 +0000 (21:18 +0200) |
src/mjc2wsl.java | patch | blob | history |
diff --git a/src/mjc2wsl.java b/src/mjc2wsl.java
index 970089e1674a9360aad8d7627b2e2c139718e0b4..4a30186c26ffc1c0526f291014591f44b40118d7 100644 (file)
--- a/src/mjc2wsl.java
+++ b/src/mjc2wsl.java
*/
public class mjc2wsl{
public static String versionN = "0.1.2";
-
- //regular comments from the original file
- //OC when original code is inserted in the file, next to the translations
- //SPEC special messages from the translator
- //ERR error messages from the translator
- public static final char C_REG = ' ', C_OC = '#', C_SPEC = '&', C_ERR = '!';
- /** instruction code */
- public static final int
+ /** Constant used for marking a regular comment from the original file */
+ public static final char C_REG = ' ';
+ /**
+ * Constant used for marking when original code is inserted in the file,
+ * next to the translations
+ */
+ public static final char C_OC = '#';
+ /** Constant used for marking special messages from the translator */
+ public static final char C_SPEC = '&';
+ /** Constant used for marking error messages from the translator */
+ public static final char C_ERR = '!';
+
+ /** instruction code in MicroJava bytecode. */
+ public static final int
load = 1,
load_0 = 2,
load_1 = 3,