Fix RESTORE compilation

This commit is contained in:
otya128 committed 2016-12-06 18:55:59 +09:00
1 parent 55fc5c169b
commit f172fce38f
1 file changed
+1 -1
+1 -1
View File
@@ -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);
}