aboutsummaryrefslogtreecommitdiff
path: root/dev
diff options
context:
space:
mode:
Diffstat (limited to 'dev')
-rw-r--r--dev/printers.mllib1
-rw-r--r--dev/top_printers.ml4
2 files changed, 3 insertions, 2 deletions
diff --git a/dev/printers.mllib b/dev/printers.mllib
index de43efa670..1a2819feb2 100644
--- a/dev/printers.mllib
+++ b/dev/printers.mllib
@@ -191,6 +191,7 @@ Pfedit
Tactic_debug
Decl_mode
Ppconstr
+Entry
Pcoq
Printer
Pptactic
diff --git a/dev/top_printers.ml b/dev/top_printers.ml
index 1d3d711ac7..7b807a343a 100644
--- a/dev/top_printers.ml
+++ b/dev/top_printers.ml
@@ -519,7 +519,7 @@ let _ =
extend_vernac_command_grammar ("PrintConstr", 0) None
[GramTerminal "PrintConstr";
GramNonTerminal
- (Loc.ghost,ConstrArgType,Aentry ("constr","constr"),
+ (Loc.ghost,ConstrArgType,Aentry (Entry.unsafe_of_name ("constr","constr")),
Some (Names.Id.of_string "c"))]
let _ =
@@ -536,7 +536,7 @@ let _ =
extend_vernac_command_grammar ("PrintPureConstr", 0) None
[GramTerminal "PrintPureConstr";
GramNonTerminal
- (Loc.ghost,ConstrArgType,Aentry ("constr","constr"),
+ (Loc.ghost,ConstrArgType,Aentry (Entry.unsafe_of_name ("constr","constr")),
Some (Names.Id.of_string "c"))]
(* Setting printer of unbound global reference *)