toml: fix parsing formatting on Windows with crlf line endings (#12468)

pull/12473/head
Larpon 2021-11-15 14:35:30 +01:00 committed by GitHub
parent a8a1e9381f
commit 78662c800c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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]
)