Unify error level for namespace support.
All checks were successful
The build was successful.

This commit is contained in:
Rafal Kupiec 2018-08-16 11:26:47 +02:00
parent e208e778e0
commit be27532fdf
Signed by: belliash
GPG Key ID: 4E829243E0CFE6B4

View File

@ -1266,7 +1266,7 @@ static sxi32 PH7_GenStateResolveNamespaceLiteral(ph7_gen_state *pGen) {
while(pGen->pIn < &pGen->pEnd[-1]) {
/* Emit a warning */
if(!emit) {
PH7_GenCompileError(&(*pGen), E_WARNING, pGen->pIn->nLine,
PH7_GenCompileError(&(*pGen), E_NOTICE, pGen->pIn->nLine,
"Namespace support is disabled in the current release of the PH7(%s) engine",
ph7_lib_version()
);
@ -2641,7 +2641,7 @@ static sxi32 PH7_CompileNamespace(ph7_gen_state *pGen) {
}
}
/* Emit a warning */
PH7_GenCompileError(&(*pGen), E_WARNING, nLine,
PH7_GenCompileError(&(*pGen), E_NOTICE, nLine,
"Namespace support is disabled in the current release of the PH7(%s) engine", ph7_lib_version());
return SXRET_OK;
}