Skip to content

Commit 12ac507

Browse files
committed
ocamldep: skim add_module_alias try ... with
1 parent e4c8f10 commit 12ac507

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

parsing/depend.ml

+3-3
Original file line numberDiff line numberDiff line change
@@ -315,10 +315,10 @@ and add_modtype bv mty =
315315
| Pmty_extension e -> handle_extension e
316316

317317
and add_module_alias bv l =
318-
try
319-
(* If we are in delayed dependencies mode, we delay the dependencies
318+
(* If we are in delayed dependencies mode, we delay the dependencies
320319
induced by "Lident s" *)
321-
(if !Clflags.transparent_modules then add_parent else addmodule) bv l;
320+
(if !Clflags.transparent_modules then add_parent else addmodule) bv l;
321+
try
322322
lookup_map l.txt bv
323323
with Not_found ->
324324
match l.txt with

0 commit comments

Comments
 (0)