branch: externals/phps-mode
commit c2b8a16a6f5ce8a83f3c128585bfef744887d3a9
Author: Christian Johansson <christ...@cvj.se>
Commit: Christian Johansson <christ...@cvj.se>

    Passes new test for concatenated string inside function arguments
---
 phps-mode-functions.el | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/phps-mode-functions.el b/phps-mode-functions.el
index 6fee6d1..ad51383 100644
--- a/phps-mode-functions.el
+++ b/phps-mode-functions.el
@@ -408,6 +408,9 @@
                     (when (or (string= token ";")
                               (and (string= token ")")
                                    (< round-bracket-level (car 
in-concatenation-round-bracket-level)))
+                              (and (string= token ",")
+                                   (= round-bracket-level (car 
in-concatenation-round-bracket-level))
+                                   (= square-bracket-level (car 
in-concatenation-square-bracket-level)))
                               (and (string= token"]")
                                    (< square-bracket-level (car 
in-concatenation-square-bracket-level))))
                       (when phps-mode-functions-verbose

Reply via email to