summaryrefslogtreecommitdiffstats
path: root/perl_checker.src
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
commitbae8d33e6019b2c30847868d79cca6720ef1948d (patch)
treeff4b9c998cc460d19f1d88b4ca07d106bf1b7264 /perl_checker.src
parent387acb9e5a76b81185a4b562fa207f810653f3cb (diff)
downloadperl-MDK-Common-bae8d33e6019b2c30847868d79cca6720ef1948d.tar
perl-MDK-Common-bae8d33e6019b2c30847868d79cca6720ef1948d.tar.gz
perl-MDK-Common-bae8d33e6019b2c30847868d79cca6720ef1948d.tar.bz2
perl-MDK-Common-bae8d33e6019b2c30847868d79cca6720ef1948d.tar.xz
perl-MDK-Common-bae8d33e6019b2c30847868d79cca6720ef1948d.zip
fix typo
Diffstat (limited to 'perl_checker.src')
-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