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-10-02 09:16:39 +0200
commit4cb4a5fefabfe2a94651bb4e725750f9b2251ad2 (patch)
tree2588b86ea591793399ef1e60cdbbe11200fd9676
parent4c335ba036875a2ad67952e56e4109e2f9babbf1 (diff)
downloadperl_checker-4cb4a5fefabfe2a94651bb4e725750f9b2251ad2.tar
perl_checker-4cb4a5fefabfe2a94651bb4e725750f9b2251ad2.tar.gz
perl_checker-4cb4a5fefabfe2a94651bb4e725750f9b2251ad2.tar.bz2
perl_checker-4cb4a5fefabfe2a94651bb4e725750f9b2251ad2.tar.xz
perl_checker-4cb4a5fefabfe2a94651bb4e725750f9b2251ad2.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
| _ ->