Mark argument as well as object, when class name is supplied.
All checks were successful
The build was successful.

This commit is contained in:
Rafal Kupiec 2019-04-10 13:58:24 +02:00
parent 95c9fd0f1f
commit 527a6ad689
Signed by: belliash
GPG Key ID: 4E829243E0CFE6B4

View File

@ -2892,6 +2892,7 @@ static sxi32 PH7_GenStateCollectFuncArgs(ph7_vm_func *pFunc, ph7_gen_state *pGen
sArg.nType = SXU32_HIGH; /* 0xFFFFFFFF as sentinel */
SyStringInitFromBuf(&sArg.sClass, zDup, pName->nByte);
}
sArg.nType = MEMOBJ_OBJ;
}
pIn++;
if((pIn->nType & PH7_TK_OSB) && &pIn[1] < pEnd && (pIn[1].nType & PH7_TK_CSB)) {