From eb80dced3ee25cbf10d6c3df803618f760010e0c Mon Sep 17 00:00:00 2001 From: belliash Date: Mon, 15 Apr 2019 20:00:54 +0200 Subject: [PATCH] Correct comment. --- engine/compiler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/compiler.c b/engine/compiler.c index 2b33b60..c079d45 100644 --- a/engine/compiler.c +++ b/engine/compiler.c @@ -2556,7 +2556,7 @@ static sxi32 PH7_CompileVar(ph7_gen_state *pGen) { PH7_GenCompileError(&(*pGen), E_ERROR, nLine, "Fatal, PH7 engine is running out of memory"); } void *p3 = (void *) zDup; - /* Emit OP_LOAD instruction */ + /* Emit OP_DECLARE instruction */ PH7_VmEmitInstr(pGen->pVm, pGen->pIn->nLine, PH7_OP_DECLARE, 0, nType, p3, 0); /* Check if we have an expression to compile */ if(pGen->pIn < pGen->pEnd && (pGen->pIn[2].nType & PH7_TK_EQUAL)) {