toml: small start -> end word use change (#12428)

pull/12435/head
Larpon 2021-11-11 06:28:46 +01:00 committed by GitHub
parent 69fa87ad24
commit dbd5acd5ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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 +