summaryrefslogtreecommitdiff
path: root/tactics/dhyp.ml
diff options
context:
space:
mode:
Diffstat (limited to 'tactics/dhyp.ml')
-rw-r--r--tactics/dhyp.ml12
1 files changed, 6 insertions, 6 deletions
diff --git a/tactics/dhyp.ml b/tactics/dhyp.ml
index 5dd7f5fd..14731b26 100644
--- a/tactics/dhyp.ml
+++ b/tactics/dhyp.ml
@@ -6,7 +6,7 @@
(* * GNU Lesser General Public License Version 2.1 *)
(************************************************************************)
-(* $Id: dhyp.ml 11094 2008-06-10 19:35:23Z herbelin $ *)
+(* $Id: dhyp.ml 11309 2008-08-06 10:30:35Z herbelin $ *)
(* Chet's comments about this tactic :
@@ -246,7 +246,7 @@ let add_destructor_hint local na loc pat pri code =
| ConclLocation _, _ -> (None, code)
| _ ->
errorlabstrm "add_destructor_hint"
- (str "The tactic should be a function of the hypothesis name") end
+ (str "The tactic should be a function of the hypothesis name.") end
in
let (_,pat) = Constrintern.interp_constrpattern Evd.empty (Global.env()) pat
in
@@ -279,13 +279,13 @@ let match_dpat dp cls gls =
(is_matching concld.d_typ cl) &
(is_matching concld.d_sort (pf_type_of gls cl)))
hl)
- then error "No match"
+ then error "No match."
| ({onhyps=Some[]},ConclLocation concld) when onconcl ->
let cl = pf_concl gls in
if not
((is_matching concld.d_typ cl) &
(is_matching concld.d_sort (pf_type_of gls cl)))
- then error "No match"
+ then error "No match."
| _ -> error "ApplyDestructor"
let forward_interp_tactic =
@@ -304,8 +304,8 @@ let applyDestructor cls discard dd gls =
ConstrMayEval(ConstrTerm (RRef(dummy_loc,VarRef id),None)) in
TacLetIn (false, [(dummy_loc, x), arg], tac)
| None, (None, tac) -> tac
- | _, (Some _,_) -> error "Destructor expects an hypothesis"
- | _, (None,_) -> error "Destructor is for conclusion")
+ | _, (Some _,_) -> error "Destructor expects an hypothesis."
+ | _, (None,_) -> error "Destructor is for conclusion.")
cll in
let discard_0 =
List.map (fun cl ->