diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2003-04-24 19:17:03 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2003-04-24 19:17:03 +0000 |
commit | 662cfb91ccb8a61683790b76b643e966ac005e8d (patch) | |
tree | 1686343a0aabb0b12c8ccd510b7c81103995f203 /perl_checker.src/global_checks.mli | |
parent | a8c17fafaed296f970c218cec4ffe3ba72a9cb7d (diff) | |
download | perl-MDK-Common-662cfb91ccb8a61683790b76b643e966ac005e8d.tar perl-MDK-Common-662cfb91ccb8a61683790b76b643e966ac005e8d.tar.gz perl-MDK-Common-662cfb91ccb8a61683790b76b643e966ac005e8d.tar.bz2 perl-MDK-Common-662cfb91ccb8a61683790b76b643e966ac005e8d.tar.xz perl-MDK-Common-662cfb91ccb8a61683790b76b643e966ac005e8d.zip |
- handle empty prototypes
- check number of parameters in method calls
(ignoring empty overloaded methods)
- allow non-empty prototypes for methods not using @_
Diffstat (limited to 'perl_checker.src/global_checks.mli')
-rw-r--r-- | perl_checker.src/global_checks.mli | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/perl_checker.src/global_checks.mli b/perl_checker.src/global_checks.mli index e081e48..6b25f73 100644 --- a/perl_checker.src/global_checks.mli +++ b/perl_checker.src/global_checks.mli @@ -6,6 +6,7 @@ type state = { methods : (string, (pos * bool ref * prototype option) list) Hashtbl.t ; global_vars_declared : (context * string * string, pos * prototype option) Hashtbl.t; global_vars_used : ((context * string * string) * pos) list ref; + packages_being_classes : (string, unit) Hashtbl.t ; } val default_state : unit -> state |