Skip to content

Commit

Permalink
temporary fix while waiting for ocaml/ocaml#10364 to be merged
Browse files Browse the repository at this point in the history
  • Loading branch information
kit-ty-kate committed Jun 2, 2021
1 parent 0dbaa44 commit 2ea32ee
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/parser_automaton_internal.ml
Original file line number Diff line number Diff line change
Expand Up @@ -535,8 +535,9 @@ let start_sexp_comment : type u s. (u, s) action =
state.ignoring_stack <- state.depth :: state.ignoring_stack;
match state.kind with
| Cst ->
In_sexp_comment
{ hash_semi_pos = current_pos state ~delta:(-1); rev_comments = []; stack }
(In_sexp_comment
{ hash_semi_pos = current_pos state ~delta:(-1); rev_comments = []; stack }
: s)
| _ -> stack
;;

Expand Down

0 comments on commit 2ea32ee

Please sign in to comment.