Fix Windows doc comments (#4643)

* WIP windows doc comments

* WIP windows doc comments

* WIP windows doc comments

* actual fix this time
This commit is contained in:
JT
2022-02-25 13:03:39 -05:00
committed by GitHub
parent e6570b41ca
commit 977ef66356
2 changed files with 32 additions and 1 deletions

View File

@ -276,7 +276,7 @@ pub fn lex(
let mut start = curr_offset;
while let Some(input) = input.get(curr_offset) {
if *input == b'\n' || *input == b'\r' {
if *input == b'\n' {
if !skip_comment {
output.push(Token::new(
TokenContents::Comment,