summaryrefslogtreecommitdiffstats
path: root/perl_checker.src/parser_helper.mli
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-04-01 15:47:31 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-04-01 15:47:31 +0000
commit44507928a9fb23e2efda52771b4f22cef38cab09 (patch)
treebf815471950b8ab18f8e8bdd4e03e13a71b56f0c /perl_checker.src/parser_helper.mli
parent84f4abd64f2f6d1e5afae404d01a8abf36becc01 (diff)
downloadperl_checker-44507928a9fb23e2efda52771b4f22cef38cab09.tar
perl_checker-44507928a9fb23e2efda52771b4f22cef38cab09.tar.gz
perl_checker-44507928a9fb23e2efda52771b4f22cef38cab09.tar.bz2
perl_checker-44507928a9fb23e2efda52771b4f22cef38cab09.tar.xz
perl_checker-44507928a9fb23e2efda52771b4f22cef38cab09.zip
- $foo =~ /^dhcp$/ is better written $foo eq 'dhcp'
- warn "grep(&f, ...)", use "grep { f } ..." instead
Diffstat (limited to 'perl_checker.src/parser_helper.mli')
-rw-r--r--perl_checker.src/parser_helper.mli1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl_checker.src/parser_helper.mli b/perl_checker.src/parser_helper.mli
index 691efdc..82bd947 100644
--- a/perl_checker.src/parser_helper.mli
+++ b/perl_checker.src/parser_helper.mli
@@ -95,6 +95,7 @@ val check_block_ref :
Types.fromparser list * (Types.spaces * (int * int)) ->
'a * (Types.spaces * (int * 'b)) -> unit
val check_my_our_paren : ((bool * 'a) * 'b) * 'c -> unit
+val check_simple_pattern : Types.fromparser list -> 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