Skip to content

Commit 12e329c

Browse files
committed
Версия 1.2.0
1 parent acd1449 commit 12e329c

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

nbproject/build-impl.xml

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

nbproject/genfiles.properties

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ [email protected]
44
# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
55
# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
66
nbproject/build-impl.xml.data.CRC32=48c1b1a1
7-
nbproject/build-impl.xml.script.CRC32=b8cd7788
8-
nbproject/build-impl.xml.stylesheet.CRC32=05530350@1.79.0.48
7+
nbproject/build-impl.xml.script.CRC32=7fd56607
8+
nbproject/build-impl.xml.stylesheet.CRC32=2b19b096@1.80.0.48

src/com/annimon/ownlang/Main.java

+6-6
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
*/
2323
public final class Main {
2424

25-
private static final String VERSION = "1.1.0";
25+
private static final String VERSION = "1.2.0";
2626

2727
private static String[] ownlangArgs = new String[0];
2828

@@ -34,11 +34,11 @@ public static void main(String[] args) throws IOException {
3434
if (args.length == 0) {
3535
try {
3636
final Options options = new Options();
37-
options.showAst = true;
38-
options.showTokens = true;
39-
options.showMeasurements = true;
37+
options.showAst = false;
38+
options.showTokens = false;
39+
options.showMeasurements = false;
4040
options.lintMode = false;
41-
options.optimizationLevel = 2;
41+
options.optimizationLevel = 0;
4242
run(SourceLoader.readSource("program.own"), options);
4343
} catch (IOException ioe) {
4444
System.out.println("OwnLang version " + VERSION + "\n\n" +
@@ -243,7 +243,7 @@ public Options() {
243243
showAst = false;
244244
showMeasurements = false;
245245
lintMode = false;
246-
optimizationLevel = 1;
246+
optimizationLevel = 0;
247247
}
248248

249249
public void validate() {

0 commit comments

Comments
 (0)