summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSHIBATA Hiroshi <hsbt@ruby-lang.org>2017-03-22 19:41:47 +0900
committerGitHub <noreply@github.com>2017-03-22 19:41:47 +0900
commitd4bd8967c1d9fe15c0ab71d03fd63459884b68b7 (patch)
treec5c40983288d03ba27d838e8fafceea5dc3ba012
parent73dec1f56f2b916c7bf07217725a329ee664cf1e (diff)
parent6d2851be0e5bc67c4d8b626eab04f21dd01428a1 (diff)
downloadpsych-d4bd8967c1d9fe15c0ab71d03fd63459884b68b7.tar.gz
Merge pull request #313 from brchristian/patch-1
Typo fix in scanner.c
-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;
}