diff --git a/src/c4/yml/parse_engine.def.hpp b/src/c4/yml/parse_engine.def.hpp index c535c115..a91889b1 100644 --- a/src/c4/yml/parse_engine.def.hpp +++ b/src/c4/yml/parse_engine.def.hpp @@ -4845,11 +4845,9 @@ void ParseEngine::_handle_seq_flow() else if(first == ']') // this happens on a trailing comma like ", ]" { _c4dbgp("seqflow[RVAL]: end!"); - rem_flags(RSEQ); - m_evt_handler->end_seq(); _line_progressed(1); - if(!has_all(RSEQ|FLOW)) - goto seqflow_finish; + m_evt_handler->end_seq(); + goto seqflow_finish; } else if(first == '*') {