branch: externals/phps-mode commit e7e5cdacf06ab9e7a8ff60271569a8ee5c81ffb5 Author: Christian Johansson <christ...@cvj.se> Commit: Christian Johansson <christ...@cvj.se>
Fixed bye-compilation warning and missing error declaration --- phps-mode-automation-grammar.el | 4 +++- phps-mode-parser.el | 4 ++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/phps-mode-automation-grammar.el b/phps-mode-automation-grammar.el index 08bf0d1151..bedf847ee6 100644 --- a/phps-mode-automation-grammar.el +++ b/phps-mode-automation-grammar.el @@ -9,6 +9,8 @@ ;;; Code: +(autoload 'phps-mode-lexer--re2c "phps-mode-lexer") + (defvar phps-mode-automation-grammar--lr--allow-default-conflict-resolution t @@ -31,7 +33,7 @@ (defvar phps-mode-automation-grammar--header - "\n(require 'phps-mode-lexer)\n\n" + "\n(require 'phps-mode-lexer)\n\n(define-error\n 'phps-parser-error\n \"PHPs Parser Error\")\n\n" "Header contents for parser.") (defvar diff --git a/phps-mode-parser.el b/phps-mode-parser.el index 20f29d85bb..637f0161c1 100644 --- a/phps-mode-parser.el +++ b/phps-mode-parser.el @@ -13,6 +13,10 @@ (require 'phps-mode-lexer) +(define-error + 'phps-parser-error + "PHPs Parser Error") + ;;; Variables: