Changeset 346 for libyaml/branches/stable/src/api.c
- Timestamp:
- 02/23/09 14:59:19 (3 years ago)
- Files:
-
- 1 modified
-
libyaml/branches/stable/src/api.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libyaml/branches/stable/src/api.c
r243 r346 1366 1366 yaml_error_type_t error; 1367 1367 } context; 1368 yaml_node_pair_t pair = { key, value }; 1368 1369 yaml_node_pair_t pair; 1369 1370 1370 1371 assert(document); /* Non-NULL document is required. */ … … 1379 1380 /* Valid value id is required. */ 1380 1381 1382 pair.key = key; 1383 pair.value = value; 1384 1381 1385 if (!PUSH(&context, 1382 1386 document->nodes.start[mapping-1].data.mapping.pairs, pair))
