From be27532fdf8405a67907750a57da6e3134aead08 Mon Sep 17 00:00:00 2001 From: belliash Date: Thu, 16 Aug 2018 11:26:47 +0200 Subject: [PATCH] Unify error level for namespace support. --- engine/compiler.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/compiler.c b/engine/compiler.c index 4660612..96b92aa 100644 --- a/engine/compiler.c +++ b/engine/compiler.c @@ -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; }