summaryrefslogtreecommitdiffstats
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
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)
-rw-r--r--NEWS1
-rw-r--r--src/parser_helper.ml2
2 files changed, 2 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 226e5ba..8c4005e 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,5 @@
- update Glib fake package
+- "please remove the space before the function call" is no more fatal
Version 1.2.24 - 14 October 2012, by Thierry Vignaud
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
| _ ->