mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
toml: small start -> end word use change (#12428)
This commit is contained in:
parent
69fa87ad24
commit
dbd5acd5ba
@ -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 +
|
||||
|
Loading…
Reference in New Issue
Block a user