Fix RESTORE...?

This commit is contained in:
otya128 committed 2016-12-06 18:47:02 +09:00
1 parent b2b9779eea
commit 55fc5c169b
2 files changed
+25 -1

No files matched your search

+16
View File
@@ -1665,6 +1665,22 @@ class RestoreCode : Code
return "restore " ~ label.to!string;
}
}
class RestoreUndefinedLabelCode : Code
{
wstring label;
this(wstring label)
{
this.label = label;
}
override void execute(VM vm)
{
throw new UndefinedLabel();
}
override string toString(VM vm)
{
return "restoreundeflabel " ~ label.to!string;
}
}
class RestoreExprCode : Code
{
DataTable datatable;