Ticket #150 (new defect)

Opened 3 months ago

Last modified 3 months ago

Typo in emitter.c

Reported by: spitzak@rhythm.com Assigned to: xi
Priority: normal Component: libyaml
Severity: normal Keywords:
Cc:

Description

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

12/23/09 17:43:49 changed by spitzak@rhythm.com

  • component changed from pyyaml to libyaml.

Add/Change #150 (Typo in emitter.c)




Change Properties
Action