1
0

IMplement STOP

This commit is contained in:
otya128
2017-07-04 20:28:49 +09:00
parent e5e784a9da
commit bb586dbb55
6 changed files with 31 additions and 1 deletions

View File

@@ -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);
}