Skip to content

Commit d0b8073

Browse files
committed
update location on line comment lexing
1 parent f1ae7e7 commit d0b8073

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/reason_lexer.mll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -660,6 +660,7 @@ and comment = parse
660660
comment lexbuf
661661
)
662662
else (
663+
update_loc lexbuf None 1 false 0;
663664
(* check if there are any unmatched nested comments *)
664665
match !comment_start_loc with
665666
| [] -> (

0 commit comments

Comments
 (0)