Skip to content

Commit b753aa4

Browse files
authored
Merge pull request #550 from ppedrot/harden-vernacextend-naming
2 parents d85ca2d + 41c5fd3 commit b753aa4

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/coq_elpi_vernacular.ml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,9 +444,14 @@ let loc_merge l1 l2 =
444444
let cache_program (nature,p,p_str) =
445445
match nature with
446446
| Command _ ->
447+
let command = Vernacexpr.{
448+
ext_plugin = "coq-elpi.elpi";
449+
ext_entry = "Elpi" ^ p_str;
450+
ext_index = 0;
451+
} in
447452
let ext =
448453
Vernacextend.declare_dynamic_vernac_extend
449-
~command:("Elpi"^p_str)
454+
~command
450455
?entry:None
451456
~depr:false
452457

0 commit comments

Comments
 (0)