summaryrefslogtreecommitdiffstats
path: root/perl_checker.src/global_checks.mli
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-04-24 19:17:03 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-04-24 19:17:03 +0000
commit11ae9e70b66544b37f9c736fb58efd7bc3116461 (patch)
treeb4301c365c59dcad54eaa4b2053dcc4b3406b060 /perl_checker.src/global_checks.mli
parentb597db85280e00cd639019c345487d1b2ac4ddaf (diff)
downloadperl_checker-11ae9e70b66544b37f9c736fb58efd7bc3116461.tar
perl_checker-11ae9e70b66544b37f9c736fb58efd7bc3116461.tar.gz
perl_checker-11ae9e70b66544b37f9c736fb58efd7bc3116461.tar.bz2
perl_checker-11ae9e70b66544b37f9c736fb58efd7bc3116461.tar.xz
perl_checker-11ae9e70b66544b37f9c736fb58efd7bc3116461.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.mli1
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