aboutsummaryrefslogtreecommitdiffhomepage
path: root/library/lib.ml
diff options
context:
space:
mode:
authorGravatar ppedrot <ppedrot@85f007b7-540e-0410-9357-904b9bb8a0f7>2013-09-27 19:20:27 +0000
committerGravatar ppedrot <ppedrot@85f007b7-540e-0410-9357-904b9bb8a0f7>2013-09-27 19:20:27 +0000
commit11ca3113365639136cf65a74c345080a9434e69b (patch)
treeda263c149cd1e90bde14768088730e48e78e4776 /library/lib.ml
parentee2f85396fa0cef65bc4295b5ac6c259e83df134 (diff)
Removing a bunch of generic equalities.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@16806 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'library/lib.ml')
-rw-r--r--library/lib.ml5
1 files changed, 3 insertions, 2 deletions
diff --git a/library/lib.ml b/library/lib.ml
index e1dd9ae39..0580661c5 100644
--- a/library/lib.ml
+++ b/library/lib.ml
@@ -513,13 +513,14 @@ let close_section () =
type frozen = Names.DirPath.t option * library_segment
let freeze ~marshallable =
- if marshallable = `Shallow then
+ match marshallable with
+ | `Shallow ->
(* TASSI: we should do something more sensible here *)
let _, initial_prefix =
CList.split_when (function _, CompilingLibrary _ -> true | _ -> false)
!lib_stk in
!comp_name, initial_prefix
- else
+ | _ ->
!comp_name, !lib_stk
let unfreeze (mn,stk) =