Changeset 210 for libyaml/trunk/src/parser.c
- Timestamp:
- 07/21/06 14:29:00 (7 years ago)
- File:
-
- 1 edited
-
libyaml/trunk/src/parser.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libyaml/trunk/src/parser.c
r208 r210 364 364 assert(1); /* Invalid state. */ 365 365 } 366 367 return 0; 366 368 } 367 369 … … 1359 1361 if (STACK_EMPTY(parser, tag_directives)) { 1360 1362 *tag_directives_start_ref = *tag_directives_end_ref = NULL; 1363 STACK_DEL(parser, tag_directives); 1361 1364 } 1362 1365 else { 1363 1366 *tag_directives_start_ref = tag_directives.start; 1364 *tag_directives_end_ref = tag_directives.end; 1365 } 1367 *tag_directives_end_ref = tag_directives.top; 1368 } 1369 } 1370 else { 1371 STACK_DEL(parser, tag_directives); 1366 1372 } 1367 1373 … … 1385 1391 yaml_tag_directive_t *tag_directive; 1386 1392 yaml_tag_directive_t copy = { NULL, NULL }; 1387 int length;1388 1393 1389 1394 for (tag_directive = parser->tag_directives.start;
Note: See TracChangeset
for help on using the changeset viewer.
