[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/phps-mode 52556fd141 5/9: Fixes for byte-compilation no
From: |
Christian Johansson |
Subject: |
[elpa] externals/phps-mode 52556fd141 5/9: Fixes for byte-compilation notices |
Date: |
Mon, 15 Jan 2024 08:25:01 -0500 (EST) |
branch: externals/phps-mode
commit 52556fd141ace1809a6d022f3ab137ee46ab10f0
Author: Christian Johansson <christian@cvj.se>
Commit: Christian Johansson <christian@cvj.se>
Fixes for byte-compilation notices
---
phps-mode-automation-parser-generator.el | 9 ---------
phps-mode-flymake.el | 18 ++++++++++--------
2 files changed, 10 insertions(+), 17 deletions(-)
diff --git a/phps-mode-automation-parser-generator.el
b/phps-mode-automation-parser-generator.el
index 1680d8d452..c1de052bfe 100644
--- a/phps-mode-automation-parser-generator.el
+++ b/phps-mode-automation-parser-generator.el
@@ -350,15 +350,6 @@
))
- (when token
- ;; (message
- ;; "token: %S from %S"
- ;; token
- ;; (buffer-substring-no-properties
- ;; (car (cdr token))
- ;; (cdr (cdr token))))
- )
-
token)))))
(when (boundp 'parser-generator-lex-analyzer--get-function)
diff --git a/phps-mode-flymake.el b/phps-mode-flymake.el
index 12ab3acd6c..4195130e81 100644
--- a/phps-mode-flymake.el
+++ b/phps-mode-flymake.el
@@ -18,14 +18,16 @@
This is an alternative function of `flymake-php-init'.
Look at the `php-executable' variable instead of the constant \"php\" command."
- (add-to-list 'flymake-allowed-file-name-masks
- '("\\.php[345s]?\\'"
- phps-mode--flymake-init
- flymake-simple-cleanup
- flymake-get-real-file-name))
-
- (add-to-list 'flymake-err-line-patterns
- '("\\(Parse\\|Fatal\\) error: \\(.*?\\) in \\(.*?\\) on line
\\([0-9]+\\)" 3 4 nil 2))
+ (when (boundp 'flymake-allowed-file-name-masks)
+ (add-to-list 'flymake-allowed-file-name-masks
+ '("\\.php[345s]?\\'"
+ phps-mode--flymake-init
+ flymake-simple-cleanup
+ flymake-get-real-file-name)))
+
+ (when (boundp 'flymake-err-line-patterns)
+ (add-to-list 'flymake-err-line-patterns
+ '("\\(Parse\\|Fatal\\) error: \\(.*?\\) in \\(.*?\\) on line
\\([0-9]+\\)" 3 4 nil 2)))
(if (boundp 'php-executable)
(let* ((temp-file
- [elpa] externals/phps-mode updated (378f886bdb -> 70559d0374), Christian Johansson, 2024/01/15
- [elpa] externals/phps-mode 9d5a82910a 1/9: Garbage collection fix for parser generation, Christian Johansson, 2024/01/15
- [elpa] externals/phps-mode c6e4deec40 4/9: Improved indentation for chained expressions, Christian Johansson, 2024/01/15
- [elpa] externals/phps-mode ba5e20dcc6 7/9: Fixed more byte-compilation notices, Christian Johansson, 2024/01/15
- [elpa] externals/phps-mode 9e9f4f9fb2 8/9: Updated copyright years, Christian Johansson, 2024/01/15
- [elpa] externals/phps-mode 70559d0374 9/9: Updated modified date and version, Christian Johansson, 2024/01/15
- [elpa] externals/phps-mode 8e92fccb49 2/9: Using PHP 8.3 grammar for parser generation, Christian Johansson, 2024/01/15
- [elpa] externals/phps-mode 738adb2eca 3/9: Work on indentation errors Emacs 29.1, Christian Johansson, 2024/01/15
- [elpa] externals/phps-mode 52556fd141 5/9: Fixes for byte-compilation notices,
Christian Johansson <=
- [elpa] externals/phps-mode 616fd806df 6/9: Updated version of parser generator library, Christian Johansson, 2024/01/15