From 870075f34dd9fa5792bfbf413afd3b96f17e76a0 Mon Sep 17 00:00:00 2001 From: Stephane Glondu Date: Fri, 8 Aug 2008 13:18:42 +0200 Subject: Imported Upstream version 8.2~beta4+dfsg --- pretyping/indrec.ml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'pretyping/indrec.ml') 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 -- cgit v1.2.3