Skip to content

Commit 5b67160

Browse files
authored
Merge pull request #9133 from zzzdong/feature/recognize-cr
feat(parser): add recognize `\r` as whitespace
2 parents 7d5a882 + abfe89d commit 5b67160

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/query/ast/src/parser/token.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ pub enum TokenKind {
101101

102102
EOI,
103103

104-
#[regex(r"[ \t\n\f]+", logos::skip)]
104+
#[regex(r"[ \t\r\n\f]+", logos::skip)]
105105
Whitespace,
106106

107107
#[regex(r"--[^\t\n\f]*", logos::skip)]

0 commit comments

Comments
 (0)