Skip to content

Commit 73229fb

Browse files
committed
Put the quoted : first
That way if it is ending the DATA statement but the GOTO is getting ignored because all normal strings are ignored, we'll still trigger an error with the next GOTO.
1 parent 6f3f72f commit 73229fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

samples/JMPTST.DO

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
1170 GOSUB 170
5252
1180 ON A GO TO 1,2,3, 180, 4,5,6
5353
1190 ON COM GOSUB 1,2,3, 190, 7,8,9
54-
1200 DATA GOTO 530,":GOTO 530": GOTO 200
54+
1200 DATA ":GOTO 530",GOTO 530: GOTO 200
5555
1500 '
5656
1510 DATA GOTO 510
5757
1520 DATA "GOTO 520"

0 commit comments

Comments
 (0)