emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/phps-mode e7e5cdacf0 29/29: Fixed bye-compilation warni


From: Christian Johansson
Subject: [elpa] externals/phps-mode e7e5cdacf0 29/29: Fixed bye-compilation warning and missing error declaration
Date: Thu, 15 Feb 2024 03:14:42 -0500 (EST)

branch: externals/phps-mode
commit e7e5cdacf06ab9e7a8ff60271569a8ee5c81ffb5
Author: Christian Johansson <christian@cvj.se>
Commit: Christian Johansson <christian@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:
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]