Browse Source

Correct error message.

release/v0.1
Rafal Kupiec 1 year ago
parent
commit
65aaf7be67
Signed by: belliash GPG Key ID: 4E829243E0CFE6B4
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      engine/compiler.c

+ 1
- 1
engine/compiler.c View File

@ -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 ||
(pGen->pIn[1].nType & (PH7_TK_ID | PH7_TK_KEYWORD)) == 0) {
PH7_GenCompileError(&(*pGen), E_ERROR, pGen->pIn->nLine,
"Unexpected '%z', expecting variable",
"Unexpected '%z', expecting variable name",
&pGen->pIn->sData);
}
/* Extract variable name */


Loading…
Cancel
Save