Unify memory indicator.
All checks were successful
The build was successful.

This commit is contained in:
Rafal Kupiec 2018-08-27 08:22:05 +02:00
parent 3f7bac2d85
commit b1f71167d9
Signed by: belliash
GPG Key ID: 4E829243E0CFE6B4

View File

@ -8782,7 +8782,7 @@ static int vm_builtin_assert(ph7_context *pCtx, int nArg, ph7_value **apArg) {
if(!iResult) { if(!iResult) {
/* Assertion failed */ /* Assertion failed */
if(iFlags & PH7_ASSERT_CALLBACK) { if(iFlags & PH7_ASSERT_CALLBACK) {
static const SyString sFileName = { ":Memory", sizeof(":Memory") - 1}; static const SyString sFileName = { "[MEMORY]", sizeof("[MEMORY]") - 1};
ph7_value sFile, sLine; ph7_value sFile, sLine;
ph7_value *apCbArg[3]; ph7_value *apCbArg[3];
SyString *pFile; SyString *pFile;