diff --git a/include/ph7.h b/include/ph7.h index a459ce9..e65976d 100644 --- a/include/ph7.h +++ b/include/ph7.h @@ -438,9 +438,10 @@ typedef sxi64 ph7_int64; * [ph7_context_throw_error_format()] interfaces. * Refer to the official documentation for additional information. */ -#define PH7_CTX_ERR 1 /* Call context error such as unexpected number of arguments,invalid types and so on. */ -#define PH7_CTX_WARNING 2 /* Call context Warning */ -#define PH7_CTX_NOTICE 3 /* Call context Notice */ +#define PH7_CTX_ERR 1 /* Call context Error such as unexpected number of arguments,invalid types and so on. */ +#define PH7_CTX_WARNING 2 /* Call context Warning */ +#define PH7_CTX_NOTICE 3 /* Call context Notice */ +#define PH7_CTX_DEPRECATED 4 /* Call context Deprecated notice */ /* Current VFS structure version*/ #define PH7_VFS_VERSION 2 /* diff --git a/include/ph7int.h b/include/ph7int.h index f0c411b..da1a6b0 100644 --- a/include/ph7int.h +++ b/include/ph7int.h @@ -1234,7 +1234,7 @@ struct ph7_vm { void *pStdout; /* STDOUT IO stream */ void *pStderr; /* STDERR IO stream */ sxbool bDebug; /* TRUE to enable debugging */ - sxbool bErrReport; /* TRUE to report all runtime Error/Warning/Notice */ + sxbool bErrReport; /* TRUE to report all runtime Error/Warning/Notice/Deprecated */ int nRecursionDepth; /* Current recursion depth */ int nMaxDepth; /* Maximum allowed recursion depth */ int nObDepth; /* OB depth */