gitweb on Svarog

projekti pod git sistemom za održavanje verzija -- projects under the git version control system
mjc2wsl - nicer version number outputs
authorDoni Pracner <quinnuendo@gmail.com>
Sun, 30 Aug 2015 13:58:20 +0000 (15:58 +0200)
committerDoni Pracner <quinnuendo@gmail.com>
Sun, 30 Aug 2015 13:58:20 +0000 (15:58 +0200)
src/com/quemaster/transformations/mjc2wsl/mjc2wsl.java

index dab321badf704a53d08d339ecca5788f68531e5e..0620e377387d7a5f334881ec5faaf547e7ca8a8c 100644 (file)
@@ -40,7 +40,7 @@ import com.quemaster.transformations.TransMessages;
  */
 public class mjc2wsl{
        //default version name, used if the file is not found
-       private static String versionN = "0.2.x";
+       private static String versionN = "v0.2.x";
 
        private String versionFile = "/version.properties";
        
@@ -176,7 +176,7 @@ public class mjc2wsl{
        public String createStandardStart(int numWords){
                StringBuilder ret = new StringBuilder(
                        "C:\" This file automatically converted from microjava bytecode\";\n"
-                       +"C:\" with mjc2wsl "+getVersion()+"\";\n");
+                       +"C:\" with mjc2wsl "+getVersion()+"\";\n");
 
                ret.append("\nBEGIN");
                ret.append("\nVAR <\n\t");
@@ -790,7 +790,7 @@ public class mjc2wsl{
        }
 
        public void printVersion() {
-               System.out.println("MicroJava bytecode to WSL converter. v " + getVersion()
+               System.out.println("MicroJava bytecode to WSL converter " + getVersion()
                                + ", by Doni Pracner");
        }
        
Svarog.pmf.uns.ac.rs/gitweb maintanance Doni Pracner