From 12e329c39941088dc7f35c4114130728fb8465b3 Mon Sep 17 00:00:00 2001 From: Victor Date: Thu, 30 Jun 2016 11:57:47 +0300 Subject: [PATCH] =?UTF-8?q?=D0=92=D0=B5=D1=80=D1=81=D0=B8=D1=8F=201.2.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nbproject/build-impl.xml | 6 +++--- nbproject/genfiles.properties | 4 ++-- src/com/annimon/ownlang/Main.java | 12 ++++++------ 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/nbproject/build-impl.xml b/nbproject/build-impl.xml index 6d4a345..89aaa15 100644 --- a/nbproject/build-impl.xml +++ b/nbproject/build-impl.xml @@ -46,8 +46,8 @@ is divided into following sections: - - + + @@ -76,7 +76,7 @@ is divided into following sections: - + diff --git a/nbproject/genfiles.properties b/nbproject/genfiles.properties index 1cc3671..9e97b71 100644 --- a/nbproject/genfiles.properties +++ b/nbproject/genfiles.properties @@ -4,5 +4,5 @@ build.xml.stylesheet.CRC32=8064a381@1.78.0.48 # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. nbproject/build-impl.xml.data.CRC32=48c1b1a1 -nbproject/build-impl.xml.script.CRC32=b8cd7788 -nbproject/build-impl.xml.stylesheet.CRC32=05530350@1.79.0.48 +nbproject/build-impl.xml.script.CRC32=7fd56607 +nbproject/build-impl.xml.stylesheet.CRC32=2b19b096@1.80.0.48 diff --git a/src/com/annimon/ownlang/Main.java b/src/com/annimon/ownlang/Main.java index 2645641..deccadd 100644 --- a/src/com/annimon/ownlang/Main.java +++ b/src/com/annimon/ownlang/Main.java @@ -22,7 +22,7 @@ import java.util.concurrent.TimeUnit; */ public final class Main { - private static final String VERSION = "1.1.0"; + private static final String VERSION = "1.2.0"; private static String[] ownlangArgs = new String[0]; @@ -34,11 +34,11 @@ public final class Main { if (args.length == 0) { try { final Options options = new Options(); - options.showAst = true; - options.showTokens = true; - options.showMeasurements = true; + options.showAst = false; + options.showTokens = false; + options.showMeasurements = false; options.lintMode = false; - options.optimizationLevel = 2; + options.optimizationLevel = 0; run(SourceLoader.readSource("program.own"), options); } catch (IOException ioe) { System.out.println("OwnLang version " + VERSION + "\n\n" + @@ -243,7 +243,7 @@ public final class Main { showAst = false; showMeasurements = false; lintMode = false; - optimizationLevel = 1; + optimizationLevel = 0; } public void validate() {