Modify ↓
Ticket #150 (closed defect: invalid)
Typo in emitter.c
| Reported by: | spitzak@… | Owned by: | xi |
|---|---|---|---|
| Priority: | normal | Component: | libyaml |
| Severity: | normal | Keywords: | |
| Cc: |
Description (last modified by xi) (diff)
In libyaml stable branch there appears to be a typo, here is a patch:
--- src/emitter.c (revision 369)
+++ src/emitter.c (working copy)
@@ -1154,7 +1154,7 @@
break;
case YAML_MAPPING_START_EVENT:
- if (!yaml_emitter_check_empty_sequence(emitter))
+ if (!yaml_emitter_check_empty_mapping(emitter))
return 0;
length += emitter->anchor_data.anchor_length
+ emitter->tag_data.handle_length
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
