Skip to content

Commit

Permalink
toml: small start -> end word use change (#12428)
Browse files Browse the repository at this point in the history
  • Loading branch information
Larpon committed Nov 11, 2021
1 parent 69fa87a commit dbd5acd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vlib/toml/checker/checker.v
Expand Up @@ -202,7 +202,7 @@ fn (c Checker) check_number(num ast.Number) ? {
if last in scanner.digit_extras {
ascii = byte(last).ascii_str()
return error(@MOD + '.' + @STRUCT + '.' + @FN +
' numbers like "$lit" (float) can not start with `$ascii` in ...${c.excerpt(num.pos)}...')
' numbers like "$lit" (float) can not end with `$ascii` in ...${c.excerpt(num.pos)}...')
}
if lit.contains('_.') || lit.contains('._') {
return error(@MOD + '.' + @STRUCT + '.' + @FN +
Expand Down

0 comments on commit dbd5acd

Please sign in to comment.