Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
perlpunk committed May 19, 2024
1 parent 588eabf commit 1f91b4d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/parser.c
Original file line number Diff line number Diff line change
Expand Up @@ -1059,10 +1059,10 @@ yaml_parser_parse_flow_sequence_entry_mapping_key(yaml_parser_t *parser,
return yaml_parser_parse_node(parser, event, 0, 0);
}
else if (token->type == YAML_FLOW_SEQUENCE_END_TOKEN) {
parser->state = POP(parser, parser->states);
(void)POP(parser, parser->marks);
SEQUENCE_END_EVENT_INIT(*event, token->start_mark, token->end_mark);
SKIP_TOKEN(parser);
yaml_mark_t mark = token->end_mark;
// fprintf(stderr, "YAML_PARSE_FLOW_SEQUENCE_ENTRY_MAPPING_VALUE_STATE\n");
parser->state = YAML_PARSE_FLOW_SEQUENCE_ENTRY_MAPPING_VALUE_STATE;
yaml_parser_process_empty_scalar(parser, event, mark);
return 1;
}
else {
Expand Down

0 comments on commit 1f91b4d

Please sign in to comment.