Remove variable-variable parsing and dynamic local-name dispatch
Build / AerScript (push) Successful in 37s

This commit is contained in:
2026-10-28 19:55:25 +01:00
parent 4980848a8d
commit 5f75319be9
3 changed files with 16 additions and 54 deletions
+2 -1
View File
@@ -1161,6 +1161,7 @@ PH7_PRIVATE sxi32 PH7_CompileVariable(ph7_gen_state *pGen, sxi32 iCompileFlag) {
if(pGen->pIn >= pGen->pEnd || (pGen->pIn->nType & (PH7_TK_ID | PH7_TK_KEYWORD)) == 0) {
/* Invalid variable name */
PH7_GenCompileError(pGen, E_ERROR, nLine, "Invalid variable name");
return SXERR_ABORT;
}
p3 = 0;
SyHashEntry *pEntry;
@@ -5023,7 +5024,7 @@ static sxi32 PH7_GenStateEmitExprCode(
} else {
p3 = pInstr->p3;
}
/* POP the last dynamic load instruction */
/* POP the last load instruction */
(void)PH7_VmPopInstr(pGen->pVm);
}
}