toml: fix parsing formatting on Windows with crlf line endings (#12468)
parent
a8a1e9381f
commit
78662c800c
|
@ -10,7 +10,7 @@ import toml.token
|
|||
import toml.scanner
|
||||
|
||||
pub const (
|
||||
all_formatting = [token.Kind.whitespace, .tab, .nl]
|
||||
all_formatting = [token.Kind.whitespace, .tab, .cr, .nl]
|
||||
space_formatting = [token.Kind.whitespace, .tab]
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue