summaryrefslogtreecommitdiff
path: root/pretyping/indrec.ml
diff options
context:
space:
mode:
authorGravatar Stephane Glondu <steph@glondu.net>2008-08-08 13:18:42 +0200
committerGravatar Stephane Glondu <steph@glondu.net>2008-08-08 13:18:42 +0200
commit870075f34dd9fa5792bfbf413afd3b96f17e76a0 (patch)
tree0c647056de1832cf1dba5ba58758b9121418e4be /pretyping/indrec.ml
parenta0cfa4f118023d35b767a999d5a2ac4b082857b4 (diff)
Imported Upstream version 8.2~beta4+dfsgupstream/8.2.beta4+dfsg
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