summaryrefslogtreecommitdiffstats
path: root/src/parser_helper.ml
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2013-09-05 09:36:51 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2013-09-05 09:36:51 +0200
commit0746b29996c79eb476f1efbff0e8c3726eb38fc6 (patch)
tree2588b86ea591793399ef1e60cdbbe11200fd9676 /src/parser_helper.ml
parent0346e1bddc46542ee38b789a196f610ff6255c1a (diff)
downloadperl_checker-0746b29996c79eb476f1efbff0e8c3726eb38fc6.tar
perl_checker-0746b29996c79eb476f1efbff0e8c3726eb38fc6.tar.gz
perl_checker-0746b29996c79eb476f1efbff0e8c3726eb38fc6.tar.bz2
perl_checker-0746b29996c79eb476f1efbff0e8c3726eb38fc6.tar.xz
perl_checker-0746b29996c79eb476f1efbff0e8c3726eb38fc6.zip
"please remove the space before the function call" is no more fatal
(for Gtk3)
Diffstat (limited to 'src/parser_helper.ml')
-rw-r--r--src/parser_helper.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser_helper.ml b/src/parser_helper.ml
index c5c19f0..714fe26 100644
--- a/src/parser_helper.ml
+++ b/src/parser_helper.ml
@@ -472,7 +472,7 @@ let check_parenthesized_first_argexpr word esp =
(if want_space then sp_n else sp_0) esp
else
(* eg: join (" ", @l) . "\n" *)
- die_with_rawpos (get_pos_start esp, get_pos_start esp) "please remove the space before the function call"
+ warn [Warn_strange] (get_pos_start esp, get_pos_start esp) "please remove the space before the function call"
else
sp_p esp
| _ ->