diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2005-11-25 13:16:43 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2005-11-25 13:16:43 +0000 |
commit | 464940c09a42f968e359606bddb8d4ee83718403 (patch) | |
tree | 82a1cead4d6d666ee284ad81bbf3b860be685372 /perl_checker.src | |
parent | dcfc8c7302059b30fc97aee62a5d29a3d690d7f5 (diff) | |
download | perl-MDK-Common-464940c09a42f968e359606bddb8d4ee83718403.tar perl-MDK-Common-464940c09a42f968e359606bddb8d4ee83718403.tar.gz perl-MDK-Common-464940c09a42f968e359606bddb8d4ee83718403.tar.bz2 perl-MDK-Common-464940c09a42f968e359606bddb8d4ee83718403.tar.xz perl-MDK-Common-464940c09a42f968e359606bddb8d4ee83718403.zip |
get rid of MDK::Common::Globals (not used anymore by drakconnect)
Diffstat (limited to 'perl_checker.src')
-rw-r--r-- | perl_checker.src/tree.ml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/perl_checker.src/tree.ml b/perl_checker.src/tree.ml index a4b5dfb..6008703 100644 --- a/perl_checker.src/tree.ml +++ b/perl_checker.src/tree.ml @@ -176,7 +176,7 @@ let get_exported t = ) empty_exports t let uses_external_package = function - | "vars" | "MDK::Common::Globals" | "Exporter" | "diagnostics" | "strict" | "lib" | "POSIX" | "Gtk" | "Storable" + | "vars" | "Exporter" | "diagnostics" | "strict" | "lib" | "POSIX" | "Gtk" | "Storable" | "Config" | "Socket" | "IO::Socket" | "DynaLoader" | "Data::Dumper" | "Time::localtime" | "Expect" -> true | _ -> false @@ -308,7 +308,6 @@ let get_vars_declaration global_vars_declared file_name package = | My_our("our", ours, pos) -> List.iter (fun (context, name) -> Hashtbl.replace package.vars_declared (context, name) (pos, ref Access_none, None)) ours - | Use(Ident(Some "MDK::Common", "Globals", pos), [ String _ ; ours ]) | Use(Ident(None, "vars", pos), [ours]) -> List.iter (fun (context, name) -> Hashtbl.replace package.vars_declared (context, name) (pos, ref Access_none, None)) (from_qw ours) | Use(Ident(None, "vars", pos), _) -> |