summaryrefslogtreecommitdiffstats
path: root/perl_checker.src/parser_helper.mli
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-04-15 21:20:00 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-04-15 21:20:00 +0000
commit4e5d62458a90c5f42aa03dbf4e70b19d73506f5e (patch)
tree8d8ad7fafbb218881fbc2eaa5d025391b1cadb18 /perl_checker.src/parser_helper.mli
parent3e23d94c2ebcb964d19dcaa3d0b7829c7f44c52e (diff)
downloadperl_checker-4e5d62458a90c5f42aa03dbf4e70b19d73506f5e.tar
perl_checker-4e5d62458a90c5f42aa03dbf4e70b19d73506f5e.tar.gz
perl_checker-4e5d62458a90c5f42aa03dbf4e70b19d73506f5e.tar.bz2
perl_checker-4e5d62458a90c5f42aa03dbf4e70b19d73506f5e.tar.xz
perl_checker-4e5d62458a90c5f42aa03dbf4e70b19d73506f5e.zip
forbid "unless (...) { ... } else { ... }" and "unless (...) { ... } elsif (...) { ... }
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 9334d58..03d9af9 100644
--- a/perl_checker.src/parser_helper.mli
+++ b/perl_checker.src/parser_helper.mli
@@ -121,6 +121,8 @@ val check_block_sub :
val check_block_ref :
Types.fromparser list Types.any_spaces_pos ->
'a Types.any_spaces_pos -> unit
+val check_unless_else :
+ 'a list Types.any_spaces_pos -> 'b list Types.any_spaces_pos -> unit
val check_my_our_paren : ((bool * 'a) * 'b) Types.any_spaces_pos -> unit
val check_simple_pattern : Types.fromparser list -> unit
val only_one : Types.fromparser list Types.any_spaces_pos -> Types.fromparser