branch: externals/phps-mode commit 11313ccbda5c95ce430adf3d7fef24bb394054e7 Author: Christian Johansson <christ...@mediastrategi.se> Commit: Christian Johansson <christ...@mediastrategi.se>
Removed unnecessary code --- phps-mode-lexer.el | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/phps-mode-lexer.el b/phps-mode-lexer.el index 4db57f1..28a5861 100644 --- a/phps-mode-lexer.el +++ b/phps-mode-lexer.el @@ -450,7 +450,6 @@ (phps-mode-lexer--match-macro (and ST_IN_SCRIPTING (looking-at "exit")) - (message "was here") (phps-mode-lexer--return-token-with-indent 'T_EXIT)) (phps-mode-lexer--match-macro @@ -1008,14 +1007,7 @@ (phps-mode-lexer--match-macro (and ST_IN_SCRIPTING (looking-at phps-mode-lexer--tokens)) - (let* ((start (match-beginning 0)) - (end (match-end 0)) - (data (buffer-substring-no-properties start end)) - (use-brace nil)) - ;; (message "Found token '%s'" data) - (if use-brace - (phps-mode-lexer--return-token "{" start end) - (phps-mode-lexer--return-token data start end)))) + (phps-mode-lexer--return-token)) (phps-mode-lexer--match-macro (and ST_IN_SCRIPTING (looking-at "{"))