summaryrefslogtreecommitdiff
path: root/pretyping/indrec.ml
diff options
context:
space:
mode:
Diffstat (limited to 'pretyping/indrec.ml')
-rw-r--r--pretyping/indrec.ml12
1 files changed, 5 insertions, 7 deletions
diff --git a/pretyping/indrec.ml b/pretyping/indrec.ml
index 2325baec..b4b8f0b8 100644
--- a/pretyping/indrec.ml
+++ b/pretyping/indrec.ml
@@ -6,7 +6,7 @@
(* * GNU Lesser General Public License Version 2.1 *)
(************************************************************************)
-(* $Id: indrec.ml 10410 2007-12-31 13:11:55Z msozeau $ *)
+(* $Id: indrec.ml 11309 2008-08-06 10:30:35Z herbelin $ *)
open Pp
open Util
@@ -591,12 +591,10 @@ let lookup_eliminator ind_sp s =
try constr_of_global (Nametab.locate (make_short_qualid id))
with Not_found ->
errorlabstrm "default_elim"
- (str "Cannot find the elimination combinator " ++
- pr_id id ++ spc () ++
- str "The elimination of the inductive definition " ++
- pr_id id ++ spc () ++ str "on sort " ++
- spc () ++ pr_sort_family s ++
- str " is probably not allowed")
+ (strbrk "Cannot find the elimination combinator " ++
+ pr_id id ++ strbrk ", the elimination of the inductive definition " ++
+ pr_id id ++ strbrk " on sort " ++ pr_sort_family s ++
+ strbrk " is probably not allowed.")
(* let env = Global.env() in