Add GosubUndefinedLabel
This commit is contained in:
1 parent
a887d91138
commit
d240a0b0d6
2 files changed
+24
-3
No files matched your search
@@ -2387,3 +2387,15 @@ class Use : Code
|
||||
}
|
||||
}
|
||||
|
||||
class GosubUndefinedLabel : Code
|
||||
{
|
||||
wstring label;
|
||||
this(wstring label)
|
||||
{
|
||||
this.label = label;
|
||||
}
|
||||
override void execute(VM vm)
|
||||
{
|
||||
throw new UndefinedLabel(label);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user