Add \r whitespace for Windows (🤮) support

This commit is contained in:
mars 2022-03-03 19:57:25 -07:00
parent 0a0838ac9c
commit 4fa03f2891
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ pub enum Token {
#[regex(r"//[^\n]*", logos::skip)]
SingleLineComment,
#[regex(r"[ \t\f ]+", logos::skip)]
#[regex(r"[ \t\f\r]+", logos::skip)]
Whitespace,
#[token("\n")]