summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2016-09-16 13:46:26 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2016-09-16 14:28:09 +0200
commit19c46e6cd872f4ff5bb5ef4bfcfbb0a2b6b8dca5 (patch)
tree7fb87d2a5fa053ddf2e6ade69d0704e1b66170e3 /src
parent37088f0067a2d74519291fa483e414728e06987d (diff)
downloadperl_checker-19c46e6cd872f4ff5bb5ef4bfcfbb0a2b6b8dca5.tar
perl_checker-19c46e6cd872f4ff5bb5ef4bfcfbb0a2b6b8dca5.tar.gz
perl_checker-19c46e6cd872f4ff5bb5ef4bfcfbb0a2b6b8dca5.tar.bz2
perl_checker-19c46e6cd872f4ff5bb5ef4bfcfbb0a2b6b8dca5.tar.xz
perl_checker-19c46e6cd872f4ff5bb5ef4bfcfbb0a2b6b8dca5.zip
recognize "bytes", "open" & "constant" pragmas
also sort them
Diffstat (limited to 'src')
-rw-r--r--src/tree.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tree.ml b/src/tree.ml
index 2f0df6b..b843b5c 100644
--- a/src/tree.ml
+++ b/src/tree.ml
@@ -176,7 +176,7 @@ let get_exported t =
) empty_exports t
let uses_external_package = function
- | "vars" | "Exporter" | "diagnostics" | "strict" | "feature" | "warnings" | "lib" | "Storable"
+ | "Exporter" | "bytes" | "constant" | "diagnostics" | "feature" | "lib" | "open" | "strict" | "vars" | "warnings" | "Storable"
| "Config" | "Socket" | "IO::Socket" | "DynaLoader" | "Data::Dumper" | "Time::localtime" | "Expect" -> true
| _ -> false