Skip to content

Commit

Permalink
fix problem with popping seqs into seqimaps
Browse files Browse the repository at this point in the history
  • Loading branch information
biojppm committed May 24, 2024
1 parent 246c0d0 commit ecc6c3a
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/c4/yml/parse_engine.def.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4845,11 +4845,9 @@ void ParseEngine<EventHandler>::_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 == '*')
{
Expand Down

0 comments on commit ecc6c3a

Please sign in to comment.