From f172fce38f4f4a6c3d021b0c89346af7746f01d4 Mon Sep 17 00:00:00 2001 From: otya128 Date: Tue, 6 Dec 2016 18:55:59 +0900 Subject: [PATCH] Fix RESTORE compilation --- SMILEBASIC/compiler.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SMILEBASIC/compiler.d b/SMILEBASIC/compiler.d index e2f86bb..38fcb38 100644 --- a/SMILEBASIC/compiler.d +++ b/SMILEBASIC/compiler.d @@ -1237,7 +1237,7 @@ class Compiler { auto restore = cast(RestoreCodeS)c; auto label = s.data.label.get(restore.label, int.min); - if (label != int.min) + if (label == int.min) { code[i] = new RestoreUndefinedLabelCode(restore.label); }