From 9d02ad26374cb4fecad15991d7a3d79052550181 Mon Sep 17 00:00:00 2001 From: Abraham White Date: Wed, 6 Mar 2024 12:28:56 -0700 Subject: [PATCH] Use _c4err macro for error message 'closing ] not found' Fixes #406 --- src/c4/yml/parse.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/c4/yml/parse.cpp b/src/c4/yml/parse.cpp index a0f0dadee..84f6abcad 100644 --- a/src/c4/yml/parse.cpp +++ b/src/c4/yml/parse.cpp @@ -3569,7 +3569,7 @@ void Parser::_end_stream() _c4dbgpf("popping level: {} (stack sz={})", m_state->level, m_stack.size()); _RYML_CB_ASSERT(m_stack.m_callbacks, ! has_any(SSCL, &m_stack.top())); if(has_all(RSEQ|FLOW)) - _err("closing ] not found"); + _c4err("closing ] not found"); _pop_level(); } add_flags(NDOC);