]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/library/libraryClean.ml
fast hack to fix decompilation with -nodb with the new getter.prefixes format
[helm.git] / helm / ocaml / library / libraryClean.ml
index 092527155e272cce2ad638d81c425047eaf3e7ff..6f72ff495b77edf2389397863bf56bd7de3778b3 100644 (file)
@@ -23,6 +23,8 @@
  * http://helm.cs.unibo.it/
  *)
 
+(* $Id$ *)
+
 open Printf
 
 let debug = false
@@ -138,7 +140,7 @@ let moo_root_dir = lazy (
           match
             Str.split (Str.regexp "[ \t\r\n]+") (HExtlib.trim_blanks pair)
           with
-          | [a;b] -> a, b
+          | a::b::_ -> a, b
           | _ -> assert false)
         (Helm_registry.get_list Helm_registry.string "getter.prefix"))
   in