Changeset 273 for libyaml/branches/stable/src/parser.c
- Timestamp:
- 07/31/08 16:41:02 (4 years ago)
- Files:
-
- 1 modified
-
libyaml/branches/stable/src/parser.c (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libyaml/branches/stable/src/parser.c
r250 r273 320 320 if (token->type != YAML_STREAM_START_TOKEN) { 321 321 return yaml_parser_set_parser_error(parser, 322 "did not f ound expected <stream-start>", token->start_mark);322 "did not find expected <stream-start>", token->start_mark); 323 323 } 324 324 … … 394 394 if (token->type != YAML_DOCUMENT_START_TOKEN) { 395 395 yaml_parser_set_parser_error(parser, 396 "did not f ound expected <document start>", token->start_mark);396 "did not find expected <document start>", token->start_mark); 397 397 goto error; 398 398 } … … 702 702 (block ? "while parsing a block node" 703 703 : "while parsing a flow node"), start_mark, 704 "did not f ound expected node content", token->start_mark);704 "did not find expected node content", token->start_mark); 705 705 goto error; 706 706 } … … 772 772 return yaml_parser_set_parser_error_context(parser, 773 773 "while parsing a block collection", POP(parser, parser->marks), 774 "did not f ound expected '-' indicator", token->start_mark);774 "did not find expected '-' indicator", token->start_mark); 775 775 } 776 776 } … … 882 882 return yaml_parser_set_parser_error_context(parser, 883 883 "while parsing a block mapping", POP(parser, parser->marks), 884 "did not f ound expected key", token->start_mark);884 "did not find expected key", token->start_mark); 885 885 } 886 886 } … … 976 976 return yaml_parser_set_parser_error_context(parser, 977 977 "while parsing a flow sequence", POP(parser, parser->marks), 978 "did not f ound expected ',' or ']'", token->start_mark);978 "did not find expected ',' or ']'", token->start_mark); 979 979 } 980 980 } … … 1128 1128 return yaml_parser_set_parser_error_context(parser, 1129 1129 "while parsing a flow mapping", POP(parser, parser->marks), 1130 "did not f ound expected ',' or '}'", token->start_mark);1130 "did not find expected ',' or '}'", token->start_mark); 1131 1131 } 1132 1132 }
