Skip to content

Commit 3387865

Browse files
committed
update installable compiler
1 parent 3afe2cb commit 3387865

File tree

1 file changed

+28
-22
lines changed

1 file changed

+28
-22
lines changed

pir/winxed_compiler.pir

Lines changed: 28 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1180,13 +1180,16 @@
11801180
__label_3: # for condition
11811181
eq $S2, "\n", __label_2
11821182
if $S2 == "" goto __label_6
1183-
if $S2 == "\"" goto __label_7
1184-
if $S2 == "\\" goto __label_8
1183+
if $S2 == "\r" goto __label_7
1184+
if $S2 == "\"" goto __label_8
1185+
if $S2 == "\\" goto __label_9
11851186
goto __label_4
11861187
__label_6: # case
11871188
WSubId_36(__ARG_1, __ARG_3)
11881189
__label_7: # case
1190+
goto __label_5 # break
11891191
__label_8: # case
1192+
__label_9: # case
11901193
concat $S6, "\\", $S2
11911194
set $S2, $S6
11921195
goto __label_5 # break
@@ -1203,38 +1206,41 @@
12031206
set $S1, $S5
12041207
set $S3, ""
12051208
null $S4
1206-
__label_9: # do
1209+
__label_10: # do
12071210
set $S4, ""
12081211
$P1 = __ARG_1.'getchar'()
12091212
set $S2, $P1
1210-
__label_14: # for condition
1211-
eq $S2, "\n", __label_13
1212-
if $S2 == "" goto __label_17
1213-
if $S2 == "\"" goto __label_18
1214-
if $S2 == "\\" goto __label_19
1215-
goto __label_15
1216-
__label_17: # case
1217-
WSubId_36(__ARG_1, __ARG_3)
1213+
__label_15: # for condition
1214+
eq $S2, "\n", __label_14
1215+
if $S2 == "" goto __label_18
1216+
if $S2 == "\r" goto __label_19
1217+
if $S2 == "\"" goto __label_20
1218+
if $S2 == "\\" goto __label_21
1219+
goto __label_16
12181220
__label_18: # case
1221+
WSubId_36(__ARG_1, __ARG_3)
12191222
__label_19: # case
1223+
goto __label_17 # break
1224+
__label_20: # case
1225+
__label_21: # case
12201226
concat $S6, "\\", $S2
12211227
set $S2, $S6
1222-
goto __label_16 # break
1223-
__label_15: # default
1224-
__label_16: # switch end
1228+
goto __label_17 # break
1229+
__label_16: # default
1230+
__label_17: # switch end
12251231
concat $S4, $S4, $S2
1226-
__label_12: # for iteration
1232+
__label_13: # for iteration
12271233
$P1 = __ARG_1.'getchar'()
12281234
set $S2, $P1
1229-
goto __label_14
1230-
__label_13: # for end
1231-
eq $S4, $S1, __label_20
1235+
goto __label_15
1236+
__label_14: # for end
1237+
eq $S4, $S1, __label_22
12321238
concat $S3, $S3, $S4
12331239
concat $S3, $S3, "\\n"
1234-
__label_20: # endif
1235-
__label_11: # continue
1236-
ne $S4, $S1, __label_9
1237-
__label_10: # enddo
1240+
__label_22: # endif
1241+
__label_12: # continue
1242+
ne $S4, $S1, __label_10
1243+
__label_11: # enddo
12381244
new $P2, [ 'Winxed'; 'Compiler'; 'TokenQuoted' ]
12391245
getattribute $P3, __ARG_1, 'filename'
12401246
$P2.'TokenQuoted'($P3, __ARG_3, $S3)

0 commit comments

Comments
 (0)