Compile closures.
All checks were successful
The build was successful.

This commit is contained in:
2018-08-16 18:31:12 +02:00
parent 074edd11d3
commit f28c671e69
4 changed files with 5 additions and 9 deletions

View File

@@ -712,7 +712,7 @@ static sxi32 ExprExtractNode(ph7_gen_state *pGen, ph7_expr_node **ppNode) {
SyMemBackendPoolFree(&pGen->pVm->sAllocator, pNode);
return rc;
}
pNode->xCode = PH7_CompileAnonFunc;
pNode->xCode = PH7_CompileClosure;
}
} else {
/* Assume a literal */