Throw an error only if this is not the end of tokens stream.
已通過所有檢查
The build was successful.

This commit is contained in:
Rafal Kupiec 2019-04-25 19:24:53 +02:00
父節點 a7606864fa
當前提交 407fb09e8f
簽署人: belliash
GPG 金鑰 ID: 4E829243E0CFE6B4

查看文件

@ -2289,7 +2289,7 @@ static sxi32 PH7_CompileVar(ph7_gen_state *pGen) {
break;
} else if(pGen->pIn->nType & PH7_TK_COMMA) {
pGen->pIn++;
} else {
} else if(pGen->pIn < pGen->pEnd) {
PH7_GenCompileError(&(*pGen), E_ERROR, pGen->pIn->nLine, "Unexpected token '%z'", &pGen->pIn->sData);
}
}