Changes between Version 17 and Version 18 of LibYAML
- Timestamp:
- 12/27/08 14:32:36 (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
LibYAML
v17 v18 166 166 yaml_event_t event; 167 167 168 int done = 0; 169 168 170 /* Create the Parser object. */ 169 171 yaml_parser_initialize(&parser); … … 193 195 194 196 /* Read the event sequence. */ 195 do{197 while (!done) { 196 198 197 199 /* Get the next event. */ … … 205 207 */ 206 208 209 /* Are we finished? */ 210 done = (event.type == YAML_STREAM_END_EVENT); 211 207 212 /* The application is responsible for destroying the event object. */ 208 213 yaml_event_delete(&event); 209 214 210 } while(event.type != YAML_STREAM_END_EVENT);215 } 211 216 212 217 /* Destroy the Parser object. */
