Skip to content

Commit

Permalink
fix: correct parser for double-quoted keys in map block
Browse files Browse the repository at this point in the history
  • Loading branch information
buty4649 committed Jul 15, 2024
1 parent 92ca480 commit c6cf7b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/c4/yml/parse_engine.def.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -6037,7 +6037,7 @@ void ParseEngine<EventHandler>::_handle_map_block()
{
_c4dbgp("mapblck[RKEY]: scanning double-quoted scalar");
sc = _scan_scalar_dquot();
csubstr maybe_filtered = _maybe_filter_val_scalar_squot(sc);
csubstr maybe_filtered = _maybe_filter_val_scalar_dquot(sc);
_handle_annotations_before_blck_key_scalar();
m_evt_handler->set_key_scalar_dquoted(maybe_filtered);
addrem_flags(RVAL, RKEY);
Expand Down

0 comments on commit c6cf7b9

Please sign in to comment.