Another fix for OP_DONE instruction.
所有检测均成功
The build was successful.

这个提交包含在:
Rafal Kupiec 2019-04-05 07:45:53 +02:00
父节点 74f954b852
当前提交 72dc44c152
签署人:: belliash
GPG 密钥 ID: 4E829243E0CFE6B4

查看文件

@ -5438,7 +5438,7 @@ static sxi32 PH7_CompileScript(
rc = PH7_CompileExpr(pGen, 0, 0);
}
/* Emit the DONE instruction */
PH7_VmEmitInstr(pGen->pVm, pGen->pIn->nLine, PH7_OP_DONE, (rc != SXERR_EMPTY ? 1 : 0), 0, 0, 0);
PH7_VmEmitInstr(pGen->pVm, pGen->pIn->nLine, PH7_OP_DONE, (rc != SXERR_EMPTY ? 1 : 0), 1, 0, 0);
return SXRET_OK;
} else if(iFlags & PH7_AERSCRIPT_CHNK) {
/* Compile a chunk of code */