From 4961922b1df7b6c3de1b3072c5ce933e93ac5bf5 Mon Sep 17 00:00:00 2001 From: belliash Date: Thu, 16 Aug 2018 13:36:19 +0200 Subject: [PATCH] Unify error with other related to namespace. --- engine/compiler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/compiler.c b/engine/compiler.c index 0570f07..b082ec2 100644 --- a/engine/compiler.c +++ b/engine/compiler.c @@ -2647,7 +2647,7 @@ static sxi32 PH7_CompileNamespace(ph7_gen_state *pGen) { PH7_DelimitNestedTokens(pGen->pIn, pGen->pEnd, PH7_TK_OCB/*'{'*/, PH7_TK_CCB/*'}'*/, &pEnd); if(pEnd >= pGen->pEnd) { /* Syntax error */ - rc = PH7_GenCompileError(pGen, E_ERROR, nLine, "Missing '}' after namespace definition"); + rc = PH7_GenCompileError(pGen, E_ERROR, nLine, "Namespace: Missing '}' after namespace definition"); if(rc == SXERR_ABORT) { /* Error count limit reached,abort immediately */ return SXERR_ABORT;