Change the script located in memory indicator.
ステータスチェックはすべて成功しました
The build was successful.

For easier reading with line numbers.
このコミットが含まれているのは:
2018-08-23 18:27:14 +02:00
コミット 94b213674a
2個のファイルの変更3行の追加3行の削除

ファイルの表示

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

ファイルの表示

@@ -1359,8 +1359,8 @@ PH7_PRIVATE sxi32 PH7_HashmapCreateSuper(ph7_vm *pVm) {
*/ */
ph7_vm_config(pVm, PH7_VM_CONFIG_SERVER_ATTR, ph7_vm_config(pVm, PH7_VM_CONFIG_SERVER_ATTR,
"SCRIPT_FILENAME", "SCRIPT_FILENAME",
pFile ? pFile->zString : ":Memory:", pFile ? pFile->zString : "[MEMORY]",
pFile ? pFile->nByte : sizeof(":Memory:") - 1 pFile ? pFile->nByte : sizeof("[MEMORY]") - 1
); );
/* All done,all super-global are installed now */ /* All done,all super-global are installed now */
return SXRET_OK; return SXRET_OK;