Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
gares committed Jul 10, 2024
1 parent 6a4e82b commit 2c5ca6a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion language-server/dm/document.ml
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,8 @@ let rec parse_more ?loc synterp_state stream raw parsed parsed_comments errors =
let stop = Stream.count stream in
let parsing_error = { msg; start; stop; } in
let errors = parsing_error :: errors in
parse_more synterp_state stream raw parsed parsed_comments errors
(* TODO: we could count the \n between start and stop and increase Loc.line_nb *)
parse_more ?loc synterp_state stream raw parsed parsed_comments errors
in
let start = Stream.count stream in
log @@ "Start of parse is: " ^ (string_of_int start);
Expand Down

0 comments on commit 2c5ca6a

Please sign in to comment.