Версия 1.2.0

This commit is contained in:
Victor 2016-06-30 11:57:47 +03:00
parent acd14495db
commit 12e329c399
3 changed files with 11 additions and 11 deletions

View File

@ -46,8 +46,8 @@ is divided into following sections:
<property file="${user.properties.file}"/> <property file="${user.properties.file}"/>
<!-- The two properties below are usually overridden --> <!-- The two properties below are usually overridden -->
<!-- by the active platform. Just a fallback. --> <!-- by the active platform. Just a fallback. -->
<property name="default.javac.source" value="1.4"/> <property name="default.javac.source" value="1.6"/>
<property name="default.javac.target" value="1.4"/> <property name="default.javac.target" value="1.6"/>
</target> </target>
<target depends="-pre-init,-init-private,-init-user" name="-init-project"> <target depends="-pre-init,-init-private,-init-user" name="-init-project">
<property file="nbproject/configs/${config}.properties"/> <property file="nbproject/configs/${config}.properties"/>
@ -76,7 +76,7 @@ is divided into following sections:
<and> <and>
<isset property="javac.profile"/> <isset property="javac.profile"/>
<length length="0" string="${javac.profile}" when="greater"/> <length length="0" string="${javac.profile}" when="greater"/>
<matches pattern="1\.[89](\..*)?" string="${javac.source}"/> <matches pattern="((1\.[89])|9)(\..*)?" string="${javac.source}"/>
</and> </and>
</condition> </condition>
<condition property="do.archive"> <condition property="do.archive">

View File

@ -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. # 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. # 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.data.CRC32=48c1b1a1
nbproject/build-impl.xml.script.CRC32=b8cd7788 nbproject/build-impl.xml.script.CRC32=7fd56607
nbproject/build-impl.xml.stylesheet.CRC32=05530350@1.79.0.48 nbproject/build-impl.xml.stylesheet.CRC32=2b19b096@1.80.0.48

View File

@ -22,7 +22,7 @@ import java.util.concurrent.TimeUnit;
*/ */
public final class Main { 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]; private static String[] ownlangArgs = new String[0];
@ -34,11 +34,11 @@ public final class Main {
if (args.length == 0) { if (args.length == 0) {
try { try {
final Options options = new Options(); final Options options = new Options();
options.showAst = true; options.showAst = false;
options.showTokens = true; options.showTokens = false;
options.showMeasurements = true; options.showMeasurements = false;
options.lintMode = false; options.lintMode = false;
options.optimizationLevel = 2; options.optimizationLevel = 0;
run(SourceLoader.readSource("program.own"), options); run(SourceLoader.readSource("program.own"), options);
} catch (IOException ioe) { } catch (IOException ioe) {
System.out.println("OwnLang version " + VERSION + "\n\n" + System.out.println("OwnLang version " + VERSION + "\n\n" +
@ -243,7 +243,7 @@ public final class Main {
showAst = false; showAst = false;
showMeasurements = false; showMeasurements = false;
lintMode = false; lintMode = false;
optimizationLevel = 1; optimizationLevel = 0;
} }
public void validate() { public void validate() {