summaryrefslogtreecommitdiff
path: root/src/scanner.c
diff options
context:
space:
mode:
authorKirill Simonov <xi@resolvent.net>2008-07-31 20:41:02 +0000
committerKirill Simonov <xi@resolvent.net>2008-07-31 20:41:02 +0000
commit6be8109b82eb483032ef336ef9bd2972590e0113 (patch)
tree100ba68c9fff66df6f5009f4403e07be8deb09ae /src/scanner.c
parent6ac56d31410a0f76824ae1bb9110620e618968da (diff)
downloadlibyaml-git-6be8109b82eb483032ef336ef9bd2972590e0113.tar.gz
Fixed grammar in error messages (from YAML::XS::LibYAML).
Diffstat (limited to 'src/scanner.c')
-rw-r--r--src/scanner.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/scanner.c b/src/scanner.c
index 4792dfd..f96a9f4 100644
--- a/src/scanner.c
+++ b/src/scanner.c
@@ -1078,7 +1078,7 @@ yaml_parser_stale_simple_keys(yaml_parser_t *parser)
if (simple_key->required) {
return yaml_parser_set_scanner_error(parser,
"while scanning a simple key", simple_key->mark,
- "could not found expected ':'");
+ "could not find expected ':'");
}
simple_key->possible = 0;
@@ -1147,7 +1147,7 @@ yaml_parser_remove_simple_key(yaml_parser_t *parser)
if (simple_key->required) {
return yaml_parser_set_scanner_error(parser,
"while scanning a simple key", simple_key->mark,
- "could not found expected ':'");
+ "could not find expected ':'");
}
}
@@ -2072,7 +2072,7 @@ yaml_parser_scan_directive(yaml_parser_t *parser, yaml_token_t *token)
if (!IS_BREAKZ(parser->buffer)) {
yaml_parser_set_scanner_error(parser, "while scanning a directive",
- start_mark, "did not found expected comment or line break");
+ start_mark, "did not find expected comment or line break");
goto error;
}
@@ -2126,7 +2126,7 @@ yaml_parser_scan_directive_name(yaml_parser_t *parser,
if (string.start == string.pointer) {
yaml_parser_set_scanner_error(parser, "while scanning a directive",
- start_mark, "cannot found expected directive name");
+ start_mark, "could not find expected directive name");
goto error;
}
@@ -2472,7 +2472,7 @@ yaml_parser_scan_tag(yaml_parser_t *parser, yaml_token_t *token)
if (!IS_BLANKZ(parser->buffer)) {
yaml_parser_set_scanner_error(parser, "while scanning a tag",
- start_mark, "did not found expected whitespace or line break");
+ start_mark, "did not find expected whitespace or line break");
goto error;
}
@@ -2826,7 +2826,7 @@ yaml_parser_scan_block_scalar(yaml_parser_t *parser, yaml_token_t *token,
if (!IS_BREAKZ(parser->buffer)) {
yaml_parser_set_scanner_error(parser, "while scanning a block scalar",
- start_mark, "did not found expected comment or line break");
+ start_mark, "did not find expected comment or line break");
goto error;
}