Skip to content

Commit

Permalink
fix windows line
Browse files Browse the repository at this point in the history
  • Loading branch information
limuy2022 committed May 1, 2024
1 parent fb32388 commit 0addcfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compiler/token.rs
Original file line number Diff line number Diff line change
Expand Up @@ -848,7 +848,7 @@ impl TokenLex {
'\0' => {
return Ok(Token::new(TokenType::EndOfFile, None));
}
'\t' | ' ' => {
'\t' | ' ' | '\r' => {
return self.next_token();
}
'\n' => {
Expand Down

0 comments on commit 0addcfa

Please sign in to comment.