Ignore:
Timestamp:
10/11/10 02:29:07 (4 years ago)
Author:
xi
Message:

Fixed a bug which prevented an empty mapping from being used as a simple key (#150, thank to spitzak(at)rhythm(dot)com).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libyaml/branches/stable/src/emitter.c

    r346 r370  
    11551155 
    11561156        case YAML_MAPPING_START_EVENT: 
    1157             if (!yaml_emitter_check_empty_sequence(emitter)) 
     1157            if (!yaml_emitter_check_empty_mapping(emitter)) 
    11581158                return 0; 
    11591159            length += emitter->anchor_data.anchor_length 
Note: See TracChangeset for help on using the changeset viewer.