From cebb552802da03f86f5ba942d6cd40c7b7276340 Mon Sep 17 00:00:00 2001 From: dota17 Date: Fri, 24 Jul 2020 12:03:43 +0800 Subject: [PATCH] delete comment --- src/emitterstate.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/emitterstate.cpp b/src/emitterstate.cpp index 084f822..af7159c 100644 --- a/src/emitterstate.cpp +++ b/src/emitterstate.cpp @@ -160,11 +160,12 @@ void EmitterState::EndedGroup(GroupType::value type) { return SetError(ErrorMsg::UNEXPECTED_END_MAP); } - // if have the unhandled Tag/Anchor, set the error message - if (m_hasTag) + if (m_hasTag) { SetError(ErrorMsg::INVALID_TAG); - if (m_hasAnchor) + } + if (m_hasAnchor) { SetError(ErrorMsg::INVALID_ANCHOR); + } // get rid of the current group {