aboutsummaryrefslogtreecommitdiffhomepage
path: root/toplevel/vernac.mli
diff options
context:
space:
mode:
authorGravatar Hugo Herbelin <Hugo.Herbelin@inria.fr>2016-10-11 20:49:57 +0200
committerGravatar Hugo Herbelin <Hugo.Herbelin@inria.fr>2016-10-17 20:14:13 +0200
commitf4045c5bfc2318792af87971ddfa08df16df8961 (patch)
tree95905c242c962b73f6cde5f5feec4f65fc9f2272 /toplevel/vernac.mli
parentf3d1eff69850d379bad5ab8f1cdadb7f5d5c7eca (diff)
Applying Emilio's suggestion to simplify type of eval_expr.
This is not fully satisfactory though since we would not like to have "eval_expr" depending on a parsing/lexing/comments state... but it does because of eval_expr possibly printing the vernac expression given to it.
Diffstat (limited to 'toplevel/vernac.mli')
-rw-r--r--toplevel/vernac.mli2
1 files changed, 1 insertions, 1 deletions
diff --git a/toplevel/vernac.mli b/toplevel/vernac.mli
index 2fd86ddc2..52216bbfd 100644
--- a/toplevel/vernac.mli
+++ b/toplevel/vernac.mli
@@ -21,7 +21,7 @@ exception End_of_input
val just_parsing : bool ref
-val eval_expr : Pcoq.Gram.coq_parsable * in_channel option -> Loc.t * Vernacexpr.vernac_expr -> unit
+val eval_expr : Pcoq.Gram.coq_parsable -> Loc.t * Vernacexpr.vernac_expr -> unit
(** Set XML hooks *)
val xml_start_library : (unit -> unit) Hook.t