aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorppedrot2012-05-23 14:35:52 +0000
committerppedrot2012-05-23 14:35:52 +0000
commit24473ef1954c856907ba8907a4d2c910505125a1 (patch)
treed9d5b1ba34fa9179d6f0a5b1750afe15337b5fc2
parent756bafb378b087e18815812d1a01cdd031990804 (diff)
Fixed #2782.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@15351 85f007b7-540e-0410-9357-904b9bb8a0f7
-rw-r--r--ide/ideproof.ml2
-rw-r--r--ide/ideproof.mli15
2 files changed, 16 insertions, 1 deletions
diff --git a/ide/ideproof.ml b/ide/ideproof.ml
index b79d646920..cfbeec0b2e 100644
--- a/ide/ideproof.ml
+++ b/ide/ideproof.ml
@@ -50,7 +50,7 @@ let mode_tactic sel_cb (proof:GText.view) goals hints = match goals with
in
let goals_cnt = List.length rem_goals + 1 in
let head_str = Printf.sprintf
- "%d subgoal%s\n" goals_cnt (if 1 < goals_cnt then "" else "s")
+ "%d subgoal%s\n" goals_cnt (if 1 < goals_cnt then "s" else "")
in
let goal_str index total = Printf.sprintf
"______________________________________(%d/%d)\n" index total
diff --git a/ide/ideproof.mli b/ide/ideproof.mli
new file mode 100644
index 0000000000..58b4d0644d
--- /dev/null
+++ b/ide/ideproof.mli
@@ -0,0 +1,15 @@
+(************************************************************************)
+(* v * The Coq Proof Assistant / The Coq Development Team *)
+(* <O___,, * INRIA - CNRS - LIX - LRI - PPS - Copyright 1999-2010 *)
+(* \VV/ **************************************************************)
+(* // * This file is distributed under the terms of the *)
+(* * GNU Lesser General Public License Version 2.1 *)
+(************************************************************************)
+
+val display :
+ (GText.view -> Interface.goal list -> 'a -> unit) -> GText.view ->
+ Interface.goals option -> 'a -> Interface.evar list option -> unit
+
+val mode_tactic :
+ ('a -> unit -> unit) -> GText.view -> Interface.goal list ->
+ ((string * 'a) list list * (string * 'a) list) option -> unit