branch: externals/phps-mode commit cba467b26cefe06f0b168f85352f96266460f46b Author: Christian Johansson <christ...@cvj.se> Commit: Christian Johansson <christ...@cvj.se>
Added TODO items --- phps-mode-parser-sdt.el | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/phps-mode-parser-sdt.el b/phps-mode-parser-sdt.el index 585cb6857a..33877f6bdb 100644 --- a/phps-mode-parser-sdt.el +++ b/phps-mode-parser-sdt.el @@ -2252,18 +2252,21 @@ (puthash 204 (lambda(args _terminals) + ;; TODO Declare variable here + `( ast-type foreach-variable variable - ,args - )) + ,args)) phps-mode-parser--table-translations) ;; 205 ((foreach_variable) (ampersand variable)) (puthash 205 (lambda(args _terminals) + ;; TODO Declare variable here + `( ast-type foreach-referenced-variable @@ -2276,24 +2279,26 @@ (puthash 206 (lambda(args _terminals) + ;; TODO Declare variable here + `( ast-type foreach-list-variable array-pair-list - ,(nth 2 args) - )) + ,(nth 2 args))) phps-mode-parser--table-translations) ;; 207 ((foreach_variable) ("[" array_pair_list "]")) (puthash 207 (lambda(args _terminals) + ;; TODO Declare variable here + `( ast-type foreach-variable array-pair-list - ,(nth 1 args) - )) + ,(nth 1 args))) phps-mode-parser--table-translations) ;; 208 ((for_statement) (statement))