diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-01-22 22:17:08 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-01-22 22:17:08 +0000 |
commit | a1ce8c538fbfe3fb52aa53c99b09f7f696507cc1 (patch) | |
tree | 092f44471dd173950facdae7b314db7b81bca883 /perl_checker.src/global_checks.mli | |
parent | c3b7eb925c11f62803d8cf7e3c8aa1da1ef8ae5b (diff) | |
download | perl_checker-a1ce8c538fbfe3fb52aa53c99b09f7f696507cc1.tar perl_checker-a1ce8c538fbfe3fb52aa53c99b09f7f696507cc1.tar.gz perl_checker-a1ce8c538fbfe3fb52aa53c99b09f7f696507cc1.tar.bz2 perl_checker-a1ce8c538fbfe3fb52aa53c99b09f7f696507cc1.tar.xz perl_checker-a1ce8c538fbfe3fb52aa53c99b09f7f696507cc1.zip |
replace the information "a variable is accessed" with the more precise
Access_none | Access_write_only | Access_various
so that we can say either "variable unused" or "variable assigned but not read"
Diffstat (limited to 'perl_checker.src/global_checks.mli')
-rw-r--r-- | perl_checker.src/global_checks.mli | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl_checker.src/global_checks.mli b/perl_checker.src/global_checks.mli index 2fe13a1..2e60613 100644 --- a/perl_checker.src/global_checks.mli +++ b/perl_checker.src/global_checks.mli @@ -4,7 +4,7 @@ open Tree type state = { per_files : (string, per_file) Hashtbl.t ; per_packages : (string, per_package) Hashtbl.t ; - methods : (string, (pos * bool ref * prototype option) list) Hashtbl.t ; + methods : (string, (pos * variable_used ref * prototype option) list) Hashtbl.t ; global_vars_used : ((context * string * string) * pos) list ref ; packages_being_classes : (string, unit) Hashtbl.t ; } |