File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -567,10 +567,7 @@ module Interp = struct
567
567
match syndata with
568
568
| None -> [] , fun ~target :_ ~depth -> Stdlib.Result. Ok ET. mkDiscard
569
569
| Some (relocate_term ,log ) -> log, relocate_term in
570
- let initial_synterp_state =
571
- match synterplog with
572
- | [] -> Vernacstate.Synterp. freeze ()
573
- | x :: _ -> Coq_elpi_builtins_synterp.SynterpAction. synterp_state_after x in
570
+ let initial_synterp_state = Vernacstate.Synterp. freeze () in
574
571
let query ~depth state =
575
572
let state, args, gls = EU. map_acc
576
573
(Coq_elpi_arg_HOAS. in_elpi_cmd ~depth ~raw: raw_args Coq_elpi_HOAS. (mk_coq_context ~options: (default_options () ) state))
Original file line number Diff line number Diff line change @@ -166,7 +166,7 @@ Elpi Accumulate lp:{{
166
166
main _ :-
167
167
D = (record "foo" {{ Type }} "mkfoo" (field [] "f" {{ Type }} _\end -record)),
168
168
coq.typecheck-indt-decl D ok,
169
- coq.env.add-indt D I.
169
+ coq.env.add-indt D I, coq.env.begin-module "x" none, coq.env. end -module _ .
170
170
}}.
171
171
#[synterp] Elpi Accumulate lp:{{
172
172
main _ :- coq.env.begin-module "x" none, coq.env.end -module _.
You can’t perform that action at this time.
0 commit comments