Skip to content

Commit

Permalink
[coq] Adapt to coq/coq#19193
Browse files Browse the repository at this point in the history
  • Loading branch information
ejgallego committed Jun 10, 2024
1 parent 683b7de commit 1acac44
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion serapi/serapi_protocol.ml
Original file line number Diff line number Diff line change
Expand Up @@ -701,7 +701,8 @@ module ControlUtil = struct
|> Option.map (fun pstate ->
let entry = Pcoq.Constr.lconstr in
let pa = Pcoq.Parsable.make (Gramlib.Stream.of_string str) in
Vernacstate.Parser.parse pstate entry pa)
Pcoq.unfreeze pstate;
Pcoq.Entry.parse entry pa)

let parse_sentence ~doc ~ontop sent =
let ontop = Extra.value ontop ~default:(Stm.get_current_state ~doc) in
Expand Down

0 comments on commit 1acac44

Please sign in to comment.