Correct error message.
所有检查均成功
The build was successful.

这个提交包含在:
2019-06-07 19:32:28 +02:00
父节点 43a1f135cc
当前提交 65aaf7be67

查看文件

@@ -2420,7 +2420,7 @@ static sxi32 PH7_CompileVar(ph7_gen_state *pGen) {
if(pGen->pIn >= pGen->pEnd || (pGen->pIn->nType & PH7_TK_DOLLAR/*'$'*/) == 0 || &pGen->pIn[1] >= pGen->pEnd || if(pGen->pIn >= pGen->pEnd || (pGen->pIn->nType & PH7_TK_DOLLAR/*'$'*/) == 0 || &pGen->pIn[1] >= pGen->pEnd ||
(pGen->pIn[1].nType & (PH7_TK_ID | PH7_TK_KEYWORD)) == 0) { (pGen->pIn[1].nType & (PH7_TK_ID | PH7_TK_KEYWORD)) == 0) {
PH7_GenCompileError(&(*pGen), E_ERROR, pGen->pIn->nLine, PH7_GenCompileError(&(*pGen), E_ERROR, pGen->pIn->nLine,
"Unexpected '%z', expecting variable", "Unexpected '%z', expecting variable name",
&pGen->pIn->sData); &pGen->pIn->sData);
} }
/* Extract variable name */ /* Extract variable name */