Change the script located in memory indicator.
All checks were successful
The build was successful.

For easier reading with line numbers.
This commit is contained in:
2018-08-23 18:27:14 +02:00
parent 4197737ddc
commit 94b213674a
2 changed files with 3 additions and 3 deletions

View File

@@ -1215,7 +1215,7 @@ static sxi32 PH7_GenStateLoadLiteral(ph7_gen_state *pGen) {
SyString *pFile = (SyString *)SySetPeek(&pGen->pVm->aFiles);
if(pFile == 0) {
SyString pMemory;
SyStringInitFromBuf(&pMemory, ":MEMORY:", (int)sizeof(":MEMORY:") - 1);
SyStringInitFromBuf(&pMemory, "[MEMORY]", (int)sizeof("[MEMORY]") - 1);
PH7_MemObjInitFromString(pGen->pVm, pObj, &pMemory);
} else {
if(pStr->zString[2] == 'F' /* FILE */) {