summaryrefslogtreecommitdiffstats
path: root/perl_checker.src/global_checks.ml
diff options
context:
space:
mode:
Diffstat (limited to 'perl_checker.src/global_checks.ml')
-rw-r--r--perl_checker.src/global_checks.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl_checker.src/global_checks.ml b/perl_checker.src/global_checks.ml
index f184221..6e57f6e 100644
--- a/perl_checker.src/global_checks.ml
+++ b/perl_checker.src/global_checks.ml
@@ -548,7 +548,7 @@ let read_packages_from_cache per_files dir =
Info.add_a_file file.file_name file.lines_starts ;
add_file_to_files per_files file
) l
- with Sys_error _ -> ()
+ with Sys_error _ | End_of_file -> ()
let write_packages_cache per_files dir =
try