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

    Improved is-varadic and is-reference argument flags
---
 phps-mode-parser-sdt.el | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/phps-mode-parser-sdt.el b/phps-mode-parser-sdt.el
index ca8c10f00c..6f2d4bbaa9 100644
--- a/phps-mode-parser-sdt.el
+++ b/phps-mode-parser-sdt.el
@@ -2893,9 +2893,9 @@
      type
      ,(nth 1 args)
      is-reference
-     ,(nth 2 args)
+     ,(if (nth 2 args) t nil)
      is-variadic
-     ,(nth 3 args)
+     ,(if (nth 3 args) t nil)
      ast-name
      ,(nth 4 args)
      ast-start
@@ -2917,9 +2917,9 @@
      type
      ,(nth 1 args)
      is-reference
-     ,(nth 2 args)
+     ,(if (nth 2 args) t nil)
      is-variadic
-     ,(nth 3 args)
+     ,(if (nth 3 args) t nil)
      ast-name
      ,(nth 4 args)
      ast-start

Reply via email to