Skip to content
This repository was archived by the owner on Apr 1, 2025. It is now read-only.

Commit 4fc5987

Browse files
mmbniemeyer
authored andcommitted
Fix typo in tab error message (#208).
1 parent 14d1c46 commit 4fc5987

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scannerc.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2641,10 +2641,10 @@ func yaml_parser_scan_plain_scalar(parser *yaml_parser_t, token *yaml_token_t) b
26412641
for is_blank(parser.buffer, parser.buffer_pos) || is_break(parser.buffer, parser.buffer_pos) {
26422642
if is_blank(parser.buffer, parser.buffer_pos) {
26432643

2644-
// Check for tab character that abuse indentation.
2644+
// Check for tab characters that abuse indentation.
26452645
if leading_blanks && parser.mark.column < indent && is_tab(parser.buffer, parser.buffer_pos) {
26462646
yaml_parser_set_scanner_error(parser, "while scanning a plain scalar",
2647-
start_mark, "found a tab character that violate indentation")
2647+
start_mark, "found a tab character that violates indentation")
26482648
return false
26492649
}
26502650

0 commit comments

Comments
 (0)