| 527 | } |
| 528 | |
| 529 | static int |
| 530 | yaml_parser_load_mapping_end(yaml_parser_t *parser, yaml_event_t *event, |
| 531 | struct loader_ctx *ctx) |
| 532 | { |
| 533 | int index; |
| 534 | |
| 535 | assert(((*ctx).top - (*ctx).start) > 0); |
| 536 | |
| 537 | index = *((*ctx).top - 1); |
| 538 | assert(parser->document->nodes.start[index-1].type == YAML_MAPPING_NODE); |
| 539 | parser->document->nodes.start[index-1].end_mark = event->end_mark; |
| 540 | |
| 541 | (void)POP(parser, *ctx); |
| 542 | |
| 543 | return 1; |
| 544 | } |
no outgoing calls
no test coverage detected