chess4js 1.0.0-beta.9i → 1.0.0-beta.9k
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/chess4js.mjs +7 -3
- package/chess4js.mjs.map +1 -1
- package/kotlin-kotlin-stdlib.mjs +16 -16
- package/kotlin-kotlin-stdlib.mjs.map +1 -1
- package/package.json +1 -1
package/chess4js.mjs
CHANGED
|
@@ -2154,9 +2154,8 @@ class Parser {
|
|
|
2154
2154
|
bx(idSupplier) {
|
|
2155
2155
|
do {
|
|
2156
2156
|
parseGame(this, idSupplier);
|
|
2157
|
-
this.ww_1 = nextTokenOrFail(this, 'error in main function ');
|
|
2158
2157
|
}
|
|
2159
|
-
while (!this.ww_1.sw_1.equals(TokenType_EOF_getInstance()));
|
|
2158
|
+
while (!this.ww_1.sw_1.equals(TokenType_EOF_getInstance()) && this.zw_1.z());
|
|
2160
2159
|
return this.ax_1;
|
|
2161
2160
|
}
|
|
2162
2161
|
}
|
|
@@ -5836,6 +5835,7 @@ function parseGame($this, idSupplier) {
|
|
|
5836
5835
|
}
|
|
5837
5836
|
tmp2_safe_receiver.mt(tmp_0);
|
|
5838
5837
|
}
|
|
5838
|
+
$this.ww_1 = $this.zw_1.z() ? $this.zw_1.a1() : $this.ww_1;
|
|
5839
5839
|
} else if ($this.ww_1.sw_1.equals(TokenType_STAR_getInstance())) {
|
|
5840
5840
|
var tmp3_safe_receiver = $this.yw_1;
|
|
5841
5841
|
if (tmp3_safe_receiver == null)
|
|
@@ -5844,6 +5844,10 @@ function parseGame($this, idSupplier) {
|
|
|
5844
5844
|
// Inline function 'kotlin.apply' call
|
|
5845
5845
|
tmp3_safe_receiver.mt(null);
|
|
5846
5846
|
}
|
|
5847
|
+
$this.ww_1 = $this.zw_1.z() ? $this.zw_1.a1() : $this.ww_1;
|
|
5848
|
+
}
|
|
5849
|
+
if ($this.ww_1.sw_1.equals(TokenType_END_LINE_COMMENT_getInstance()) || $this.ww_1.sw_1.equals(TokenType_COMMENT_getInstance())) {
|
|
5850
|
+
$this.ww_1 = $this.zw_1.z() ? $this.zw_1.a1() : $this.ww_1;
|
|
5847
5851
|
}
|
|
5848
5852
|
var tmp4_safe_receiver = $this.yw_1;
|
|
5849
5853
|
if (tmp4_safe_receiver == null)
|
|
@@ -11889,7 +11893,7 @@ function tiebreakerComparatorOf$lambda_0($this, $curr) {
|
|
|
11889
11893
|
if (!(previousCompare === 0)) {
|
|
11890
11894
|
tmp = previousCompare;
|
|
11891
11895
|
} else {
|
|
11892
|
-
tmp =
|
|
11896
|
+
tmp = $curr.compare(a, b);
|
|
11893
11897
|
}
|
|
11894
11898
|
return tmp;
|
|
11895
11899
|
};
|