1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

toml: add value decoding (#12521)

This commit is contained in:
Larpon
2021-11-20 18:48:44 +01:00
committed by GitHub
parent 4b9e8e243c
commit f1dd0e3355
8 changed files with 206 additions and 64 deletions

View File

@ -400,7 +400,7 @@ fn (c Checker) check_quoted_escapes(q ast.Quoted) ? {
is_basic := q.quote == `\"`
for {
ch := s.next()
if ch == -1 {
if ch == scanner.end_of_text {
break
}
ch_byte := byte(ch)