Implement USE/EXEC compilation

This commit is contained in:
otya128 committed 2016-12-23 17:16:38 +09:00
1 parent 0b9fd70bcb
commit 0440c33184
4 files changed
+59 -3

No files matched your search

+2 -2
View File
@@ -1111,14 +1111,14 @@ class Parser
{
lex.popFront();
auto expr = expression();
writeln("NOTIMPL:USE");
return new Use(expr, lex.location);
}
break;
case TokenType.Exec:
{
lex.popFront();
auto expr = expression();
writeln("NOTIMPL:EXEC");
return new Exec(expr, lex.location);
}
break;
case TokenType.Swap: