mirror of
https://github.com/aNNiMON/Own-Programming-Language-Tutorial.git
synced 2024-09-20 00:34:20 +03:00
Версия 1.2.0
This commit is contained in:
parent
acd14495db
commit
12e329c399
@ -46,8 +46,8 @@ is divided into following sections:
|
||||
<property file="${user.properties.file}"/>
|
||||
<!-- The two properties below are usually overridden -->
|
||||
<!-- by the active platform. Just a fallback. -->
|
||||
<property name="default.javac.source" value="1.4"/>
|
||||
<property name="default.javac.target" value="1.4"/>
|
||||
<property name="default.javac.source" value="1.6"/>
|
||||
<property name="default.javac.target" value="1.6"/>
|
||||
</target>
|
||||
<target depends="-pre-init,-init-private,-init-user" name="-init-project">
|
||||
<property file="nbproject/configs/${config}.properties"/>
|
||||
@ -76,7 +76,7 @@ is divided into following sections:
|
||||
<and>
|
||||
<isset property="javac.profile"/>
|
||||
<length length="0" string="${javac.profile}" when="greater"/>
|
||||
<matches pattern="1\.[89](\..*)?" string="${javac.source}"/>
|
||||
<matches pattern="((1\.[89])|9)(\..*)?" string="${javac.source}"/>
|
||||
</and>
|
||||
</condition>
|
||||
<condition property="do.archive">
|
||||
|
@ -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
|
||||
|
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user