From ec5ed7870b4b59e05c5e994c9bad35e28685b8bd Mon Sep 17 00:00:00 2001 From: xclerc Date: Mon, 14 Oct 2013 07:33:57 +0000 Subject: Getting rid of the use of deprecated elements (from the OCaml standard library). git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@16882 85f007b7-540e-0410-9357-904b9bb8a0f7 --- tools/coqdoc/index.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/coqdoc/index.ml') diff --git a/tools/coqdoc/index.ml b/tools/coqdoc/index.ml index 7368ac1e0..8e82f4577 100644 --- a/tools/coqdoc/index.ml +++ b/tools/coqdoc/index.ml @@ -131,7 +131,7 @@ let find_external_library logicalpath = let rec aux = function | [] -> raise Not_found | (l,u)::rest -> - if String.length logicalpath > String.length l & + if String.length logicalpath > String.length l && String.sub logicalpath 0 (String.length l + 1) = l ^"." then u else aux rest -- cgit v1.2.3