- Timestamp:
- 10/16/2006 19:38:25 (2 years ago)
- Files:
-
- 1 modified
-
trunk/ext/io/YAML/source/IoYAML.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ext/io/YAML/source/IoYAML.c
r238 r240 91 91 case syck_str_kind: 92 92 if (n->type_id == NULL || strcmp(n->type_id, "str") == 0) { 93 o = I oSeq_newWithData_length_(self->state,n->data.str->ptr, n->data.str->len);93 o = IOSEQ(n->data.str->ptr, n->data.str->len); 94 94 } 95 95 else if (strcmp(n->type_id, "null") == 0) … … 142 142 else 143 143 { 144 o = I oSeq_newWithData_length_(self->state,n->data.str->ptr, n->data.str->len);144 o = IOSEQ(n->data.str->ptr, n->data.str->len); 145 145 } 146 146 break; … … 165 165 syck_lookup_sym(p, oid, (char **)&o3); 166 166 167 o2 = IoSeq_rawAsSymbol(o2); 167 168 IoMap_rawAtPut(o, (IoSymbol *)o2, o3); 168 169 }