summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorbrchristian <brchristian@gmail.com>2017-03-21 13:16:45 -0700
committerGitHub <noreply@github.com>2017-03-21 13:16:45 -0700
commit6d2851be0e5bc67c4d8b626eab04f21dd01428a1 (patch)
treec5c40983288d03ba27d838e8fafceea5dc3ba012 /ext
parent73dec1f56f2b916c7bf07217725a329ee664cf1e (diff)
downloadpsych-6d2851be0e5bc67c4d8b626eab04f21dd01428a1.tar.gz
Typo fix in scanner.c
Diffstat (limited to 'ext')
-rw-r--r--ext/psych/yaml/scanner.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/psych/yaml/scanner.c b/ext/psych/yaml/scanner.c
index bfdf3ab..3ef90dc 100644
--- a/ext/psych/yaml/scanner.c
+++ b/ext/psych/yaml/scanner.c
@@ -3504,12 +3504,12 @@ yaml_parser_scan_plain_scalar(yaml_parser_t *parser, yaml_token_t *token)
{
if (IS_BLANK(parser->buffer))
{
- /* Check for tab character that abuse indentation. */
+ /* Check for tab characters that abuse indentation. */
if (leading_blanks && (int)parser->mark.column < indent
&& IS_TAB(parser->buffer)) {
yaml_parser_set_scanner_error(parser, "while scanning a plain scalar",
- start_mark, "found a tab character that violate indentation");
+ start_mark, "found a tab character that violates indentation");
goto error;
}