summaryrefslogtreecommitdiffstats
path: root/perl_checker.src/parser_helper.ml
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-04-28 11:30:51 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-04-28 11:30:51 +0000
commitd57636180be4db82da5ea579b1058d5784c3d9d5 (patch)
tree7c790e78cef42911fd2a20d7beabd7c366a93883 /perl_checker.src/parser_helper.ml
parent41afcf96fd9504233aefe2380dbb1b1a88f19316 (diff)
downloadperl_checker-d57636180be4db82da5ea579b1058d5784c3d9d5.tar
perl_checker-d57636180be4db82da5ea579b1058d5784c3d9d5.tar.gz
perl_checker-d57636180be4db82da5ea579b1058d5784c3d9d5.tar.bz2
perl_checker-d57636180be4db82da5ea579b1058d5784c3d9d5.tar.xz
perl_checker-d57636180be4db82da5ea579b1058d5784c3d9d5.zip
fix typo
Diffstat (limited to 'perl_checker.src/parser_helper.ml')
-rw-r--r--perl_checker.src/parser_helper.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl_checker.src/parser_helper.ml b/perl_checker.src/parser_helper.ml
index 3370d9a..cefff7b 100644
--- a/perl_checker.src/parser_helper.ml
+++ b/perl_checker.src/parser_helper.ml
@@ -812,7 +812,7 @@ let call_raw force_non_builtin_func (e, para) =
(match para with
| [ List(Ident(None, name, _) :: _) ]
| Ident(None, name, _) :: _ ->
- if not (List.member [ "STDIN" ; "STDOUT" ; "STDERR" ]) then
+ if not (List.mem name [ "STDIN" ; "STDOUT" ; "STDERR" ]) then
warn_rule (sprintf "use a scalar instead of a bareword (eg: occurrences of %s with $%s)" name name)
| _ -> ());
None