IMplement STOP
This commit is contained in:
1 parent
e5e784a9da
commit
bb586dbb55
6 files changed
+31
-1
No files matched your search
@@ -1294,6 +1294,15 @@ class Compiler
|
||||
case NodeType.CallBG:
|
||||
compileCallBG(cast(otya.smilebasic.node.CallBG)i, s);
|
||||
break;
|
||||
case NodeType.StopStatement:
|
||||
{
|
||||
if (isDirectMode)
|
||||
{
|
||||
throw new CantUseFromDirectMode();
|
||||
}
|
||||
genCode(new Stop());
|
||||
break;
|
||||
}
|
||||
default:
|
||||
stderr.writeln("Compile:NotImpl ", i.type);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user