Changeset 20 for trunk/sandbox/syck-parser/syck-parser.c
- Timestamp:
- 08/12/05 16:15:19 (8 years ago)
- File:
-
- 1 edited
-
trunk/sandbox/syck-parser/syck-parser.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/sandbox/syck-parser/syck-parser.c
r4 r20 123 123 switch (n->kind) { 124 124 case syck_str_kind: 125 output(indent, " Node Scalar (%s):", n->type_id);125 output(indent, "[%d] Node Scalar (%s):", id, n->type_id); 126 126 output(indent+1, "Value: '%s'", n->data.str->ptr); 127 127 break; 128 128 case syck_seq_kind: 129 output(indent, " Node Sequence (%s):", n->type_id);129 output(indent, "[%d] Node Sequence (%s):", id, n->type_id); 130 130 for (i = 0; i < syck_seq_count(n); i++) { 131 131 output(indent+1, "Item #%d:", i+1); … … 134 134 break; 135 135 case syck_map_kind: 136 output(indent, " Node Mapping (%s):", n->type_id);136 output(indent, "[%d] Node Mapping (%s):", id, n->type_id); 137 137 for (i = 0; i < syck_map_count(n); i++) { 138 138 output(indent+1, "Key #%d:", i+1);
Note: See TracChangeset
for help on using the changeset viewer.
