Rename PH7_VmGenericError() to PH7_VmThrowError()
All checks were successful
The build was successful.
All checks were successful
The build was successful.
This commit is contained in:
@@ -7240,7 +7240,7 @@ static int PH7_builtin_idate(ph7_context *pCtx, int nArg, ph7_value **apArg) {
|
||||
break;
|
||||
default:
|
||||
/* unknown format,throw a warning */
|
||||
PH7_VmGenericError(pCtx->pVm, PH7_CTX_WARNING, "Unknown date format token");
|
||||
PH7_VmThrowError(pCtx->pVm, PH7_CTX_WARNING, "Unknown date format token");
|
||||
break;
|
||||
}
|
||||
/* Return the time value */
|
||||
|
Reference in New Issue
Block a user