Skip to content

Commit 9cdf84f

Browse files
committed
Try Win fix.
1 parent dcd8675 commit 9cdf84f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

analysis/src/PartialParser.ml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ let skipLineComment text offset =
3636
let rec skipWhite text i =
3737
if i < 0 then 0
3838
else
39-
match text.[i] with ' ' | '\n' | '\t' -> skipWhite text (i - 1) | _ -> i
39+
match text.[i] with
40+
| ' ' | '\r' | '\n' | '\t' -> skipWhite text (i - 1)
41+
| _ -> i
4042

4143
let rec startOfLident text i =
4244
if i < 0 then 0

0 commit comments

Comments
 (0)