Skip to content

Commit

Permalink
Merge pull request #419 from ejgallego/vernacstate_remove_parsing
Browse files Browse the repository at this point in the history
[coq] Adapt to coq/coq#19193
  • Loading branch information
SkySkimmer authored Jun 14, 2024
2 parents 683b7de + 1acac44 commit eb845aa
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 eb845aa

Please sign in to comment.