branch: externals/phps-mode commit 8eb3dc0fd06709c73ca0819dc592bf6c41151143 Author: Christian Johansson <christ...@cvj.se> Commit: Christian Johansson <christ...@cvj.se>
Fixed byte-compilation issue in lexer --- phps-mode-lexer.el | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/phps-mode-lexer.el b/phps-mode-lexer.el index aad3679..5438252 100644 --- a/phps-mode-lexer.el +++ b/phps-mode-lexer.el @@ -47,10 +47,11 @@ (autoload 'semantic-lex-push-token "semantic/lex") (autoload 'define-lex-analyzer "semantic/lex") +;; NOTE This line is required to pass byte-compilation +(require 'semantic/wisent) + + ;; Fix for byte-compilation warnings -(defvar phps-mode-lexer-lex) -(defvar semantic-lex-default-action) -(defvar phps-mode-lexer-lex-analyzer) ;; Define the lexer for this grammar