diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2003-04-01 15:50:03 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2003-04-01 15:50:03 +0000 |
commit | 68850ba7153887d3b69eaaa574990b0e54851179 (patch) | |
tree | d3db370601422e62eb5662908c9bf54925abc3da /perl_checker.src/parser_helper.ml | |
parent | 44507928a9fb23e2efda52771b4f22cef38cab09 (diff) | |
download | perl_checker-68850ba7153887d3b69eaaa574990b0e54851179.tar perl_checker-68850ba7153887d3b69eaaa574990b0e54851179.tar.gz perl_checker-68850ba7153887d3b69eaaa574990b0e54851179.tar.bz2 perl_checker-68850ba7153887d3b69eaaa574990b0e54851179.tar.xz perl_checker-68850ba7153887d3b69eaaa574990b0e54851179.zip |
fix error message for grep not used with a block
Diffstat (limited to 'perl_checker.src/parser_helper.ml')
-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 daaad87..21f91d8 100644 --- a/perl_checker.src/parser_helper.ml +++ b/perl_checker.src/parser_helper.ml @@ -689,7 +689,7 @@ let call_func is_a_func (e, para) = | "map" | "grep" -> (match para with | Anonymous_sub _ :: _ -> () - | _ -> warn_rule (sprintf "always use \"%s\" with a block (eg: map { ... } @list)" f)); + | _ -> warn_rule (sprintf "always use \"%s\" with a block (eg: %s { ... } @list)" f f)); None | _ -> None |