Ignore:
Timestamp:
02/23/09 14:59:19 (6 years ago)
Author:
xi
Message:

Fixed non-ANSI initializations (fixes #115).

File:
1 edited

Legend:

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

    r243 r346  
    13661366        yaml_error_type_t error; 
    13671367    } context; 
    1368     yaml_node_pair_t pair = { key, value }; 
     1368 
     1369    yaml_node_pair_t pair; 
    13691370 
    13701371    assert(document);       /* Non-NULL document is required. */ 
     
    13791380                            /* Valid value id is required. */ 
    13801381 
     1382    pair.key = key; 
     1383    pair.value = value; 
     1384 
    13811385    if (!PUSH(&context, 
    13821386                document->nodes.start[mapping-1].data.mapping.pairs, pair)) 
Note: See TracChangeset for help on using the changeset viewer.