diff options
| author | Pascal Rigaux <pixel@mandriva.com> | 2004-04-28 11:30:51 +0000 | 
|---|---|---|
| committer | Pascal Rigaux <pixel@mandriva.com> | 2004-04-28 11:30:51 +0000 | 
| commit | d57636180be4db82da5ea579b1058d5784c3d9d5 (patch) | |
| tree | 7c790e78cef42911fd2a20d7beabd7c366a93883 | |
| parent | 41afcf96fd9504233aefe2380dbb1b1a88f19316 (diff) | |
| download | perl_checker-d57636180be4db82da5ea579b1058d5784c3d9d5.tar perl_checker-d57636180be4db82da5ea579b1058d5784c3d9d5.tar.gz perl_checker-d57636180be4db82da5ea579b1058d5784c3d9d5.tar.bz2 perl_checker-d57636180be4db82da5ea579b1058d5784c3d9d5.tar.xz perl_checker-d57636180be4db82da5ea579b1058d5784c3d9d5.zip | |
fix typo
| -rw-r--r-- | perl_checker.src/parser_helper.ml | 2 | 
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 | 
