ocamldep: skim add_module_alias try ... with

master
octachron 2017-10-10 22:23:20 +02:00 committed by Gabriel Scherer
parent 86e35c1261
commit c1ff8cb4bd
1 changed files with 3 additions and 3 deletions

View File

@ -315,10 +315,10 @@ and add_modtype bv mty =
| Pmty_extension e -> handle_extension e
and add_module_alias bv l =
try
(* If we are in delayed dependencies mode, we delay the dependencies
(* If we are in delayed dependencies mode, we delay the dependencies
induced by "Lident s" *)
(if !Clflags.transparent_modules then add_parent else addmodule) bv l;
(if !Clflags.transparent_modules then add_parent else addmodule) bv l;
try
lookup_map l.txt bv
with Not_found ->
match l.txt with