aboutsummaryrefslogtreecommitdiffhomepage
path: root/tactics/wcclausenv.ml
diff options
context:
space:
mode:
authorGravatar filliatr <filliatr@85f007b7-540e-0410-9357-904b9bb8a0f7>2001-12-13 09:03:13 +0000
committerGravatar filliatr <filliatr@85f007b7-540e-0410-9357-904b9bb8a0f7>2001-12-13 09:03:13 +0000
commit78d1c75322684eaa7e0ef753ee56d9c6140ec830 (patch)
tree3ec7474493dc988732fdc9fe9d637b8de8279798 /tactics/wcclausenv.ml
parentf813d54ada801c2162491267c3b236ad181ee5a3 (diff)
compat ocaml 3.03
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@2291 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'tactics/wcclausenv.ml')
-rw-r--r--tactics/wcclausenv.ml16
1 files changed, 8 insertions, 8 deletions
diff --git a/tactics/wcclausenv.ml b/tactics/wcclausenv.ml
index a8d53dae9..a233aef2d 100644
--- a/tactics/wcclausenv.ml
+++ b/tactics/wcclausenv.ml
@@ -63,22 +63,22 @@ let clenv_constrain_with_bindings bl clause =
| Dep s ->
if List.mem_assoc b t then
errorlabstrm "clenv_match_args"
- [< 'sTR "The variable "; pr_id s;
- 'sTR " occurs more than once in binding" >];
+ (str "The variable " ++ pr_id s ++
+ str " occurs more than once in binding");
clenv_lookup_name clause s
| Nodep n ->
let index = if n > 0 then n-1 else nb_indep+n in
if List.mem_assoc (Nodep (index+1)) t or
List.mem_assoc (Nodep (index-nb_indep)) t
then errorlabstrm "clenv_match_args"
- [< 'sTR "The position "; 'iNT n ;
- 'sTR " occurs more than once in binding" >];
+ (str "The position " ++ int n ++
+ str " occurs more than once in binding");
(try
List.nth ind_mvs index
with Failure _ ->
errorlabstrm "clenv_constrain_with_bindings"
- [< 'sTR"Clause did not have " ; 'iNT n ; 'sTR"-th" ;
- 'sTR" unnamed argument" >])
+ (str"Clause did not have " ++ int n ++ str"-th" ++
+ str" unnamed argument"))
| Abs n ->
(try
if n > 0 then
@@ -88,8 +88,8 @@ let clenv_constrain_with_bindings bl clause =
else error "clenv_constrain_with_bindings"
with Failure _ ->
errorlabstrm "clenv_constrain_with_bindings"
- [< 'sTR"Clause did not have " ; 'iNT n ; 'sTR"-th" ;
- 'sTR" absolute argument" >])
+ (str"Clause did not have " ++ int n ++ str"-th" ++
+ str" absolute argument"))
in
let env = Global.env () in
let sigma = Evd.empty in