aboutsummaryrefslogtreecommitdiffstats
path: root/src/trace/coqTerms.ml
diff options
context:
space:
mode:
Diffstat (limited to 'src/trace/coqTerms.ml')
-rw-r--r--src/trace/coqTerms.ml4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/trace/coqTerms.ml b/src/trace/coqTerms.ml
index 51e99ae..a5a95ea 100644
--- a/src/trace/coqTerms.ml
+++ b/src/trace/coqTerms.ml
@@ -451,7 +451,9 @@ let list_of_constr_tuple =
let c, args = Structures.decompose_app t in
if c = Lazy.force cpair then
match args with
- | [_;_;t;l] -> list_of_constr_tuple (l::acc) t
+ | [_;_;t1;t2] ->
+ let acc' = list_of_constr_tuple acc t1 in
+ list_of_constr_tuple acc' t2
| _ -> assert false
else
t::acc