summaryrefslogtreecommitdiff
path: root/pretyping/pattern.ml
diff options
context:
space:
mode:
authorGravatar Samuel Mimram <samuel.mimram@ens-lyon.org>2005-01-31 14:34:14 +0000
committerGravatar Samuel Mimram <samuel.mimram@ens-lyon.org>2005-01-31 14:34:14 +0000
commite669490d0d5e6ed4bb45c895194791f01d038637 (patch)
tree4eb40b447e6573dbaa1cf593a2cae6758850cb7c /pretyping/pattern.ml
parentd334716fb2d09dd3304f98ee0dbf39275eac010b (diff)
parent6497f27021fec4e01f2182014f2bb1989b4707f9 (diff)
Merge commit 'upstream/8.0pl2'
Diffstat (limited to 'pretyping/pattern.ml')
-rw-r--r--pretyping/pattern.ml5
1 files changed, 2 insertions, 3 deletions
diff --git a/pretyping/pattern.ml b/pretyping/pattern.ml
index 80ab1b6e..f58a12c6 100644
--- a/pretyping/pattern.ml
+++ b/pretyping/pattern.ml
@@ -6,7 +6,7 @@
(* * GNU Lesser General Public License Version 2.1 *)
(************************************************************************)
-(* $Id: pattern.ml,v 1.24.2.1 2004/07/16 19:30:45 herbelin Exp $ *)
+(* $Id: pattern.ml,v 1.24.2.2 2004/11/26 17:51:52 herbelin Exp $ *)
open Util
open Names
@@ -182,8 +182,7 @@ let rec pattern_of_constr t =
Some (pattern_of_constr p),pattern_of_constr a,
Array.map pattern_of_constr br)
| Fix f -> PFix f
- | CoFix _ ->
- error "pattern_of_constr: (co)fix currently not supported"
+ | CoFix f -> PCoFix f
(* To process patterns, we need a translation without typing at all. *)