Fix GotoExpr to use VM.currentFunction

This commit is contained in:
otya128 committed 2016-12-24 19:40:24 +09:00
1 parent ce71082b29
commit 2c970f6dea
2 files changed
+4 -6

No files matched your search

+1 -1
View File
@@ -1007,7 +1007,7 @@ class Compiler
if(!gotou.label)
{
compileExpression(gotou.labelexpr, s);
genCode(new GotoExpr(s));
genCode(new GotoExpr());
}
else
{