summaryrefslogtreecommitdiffstats
path: root/perl_checker.src/parser_helper.mli
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-02-05 13:39:37 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-02-05 13:39:37 +0000
commitaf260a0724fde72626e639bf59115b356917dd28 (patch)
tree9df2092d5e43fe55aa9b6a8ca8d4bd0cfa41fd38 /perl_checker.src/parser_helper.mli
parentdc5032ed00875c1cf4f978ddeb07e5967f9488f8 (diff)
downloadperl_checker-af260a0724fde72626e639bf59115b356917dd28.tar
perl_checker-af260a0724fde72626e639bf59115b356917dd28.tar.gz
perl_checker-af260a0724fde72626e639bf59115b356917dd28.tar.bz2
perl_checker-af260a0724fde72626e639bf59115b356917dd28.tar.xz
perl_checker-af260a0724fde72626e639bf59115b356917dd28.zip
warn when using $l[$#l], advice $l[-1] instead
Diffstat (limited to 'perl_checker.src/parser_helper.mli')
-rw-r--r--perl_checker.src/parser_helper.mli2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl_checker.src/parser_helper.mli b/perl_checker.src/parser_helper.mli
index faf5c45..3b776ea 100644
--- a/perl_checker.src/parser_helper.mli
+++ b/perl_checker.src/parser_helper.mli
@@ -87,6 +87,8 @@ val check_block_ref :
'a * (Types.spaces * (int * 'b)) -> unit
val check_my_our_paren : ((bool * 'a) * 'b) * 'c -> unit
val only_one : Types.fromparser list * ('a * (int * int)) -> Types.fromparser
+val only_one_array_ref :
+ Types.fromparser list * ('a * (int * int)) -> Types.fromparser
val only_one_in_List :
('a * Types.fromparser) * ('b * (int * int)) -> Types.fromparser
val is_only_one_in_List : Types.fromparser list -> bool