From 1d3d87aee2f3b75cf213754b58aabf8364ccd3f1 Mon Sep 17 00:00:00 2001 From: Doni Pracner Date: Sun, 30 Aug 2015 15:58:20 +0200 Subject: [PATCH] mjc2wsl - nicer version number outputs --- src/com/quemaster/transformations/mjc2wsl/mjc2wsl.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/com/quemaster/transformations/mjc2wsl/mjc2wsl.java b/src/com/quemaster/transformations/mjc2wsl/mjc2wsl.java index dab321b..0620e37 100644 --- a/src/com/quemaster/transformations/mjc2wsl/mjc2wsl.java +++ b/src/com/quemaster/transformations/mjc2wsl/mjc2wsl.java @@ -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 v "+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"); } -- 2.25.1