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

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

[elpa] externals/phps-mode 2fa332751f 1/3: Fixed byte-compilation warnin


From: Christian Johansson
Subject: [elpa] externals/phps-mode 2fa332751f 1/3: Fixed byte-compilation warning about docstring and improved newline regexp
Date: Mon, 3 Mar 2025 14:33:56 -0500 (EST)

branch: externals/phps-mode
commit 2fa332751f1b8e1195f5410f1e4bdad08e249705
Author: Christian Johansson <christian@cvj.se>
Commit: Christian Johansson <christian@cvj.se>

    Fixed byte-compilation warning about docstring and improved newline regexp
---
 phps-mode-lexer-generator.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/phps-mode-lexer-generator.el b/phps-mode-lexer-generator.el
index fdba516223..75fba233ea 100644
--- a/phps-mode-lexer-generator.el
+++ b/phps-mode-lexer-generator.el
@@ -117,8 +117,8 @@
   "Any character.  The Zend equivalent is [^] but is not possible in Emacs 
Lisp.")
 
 (defconst phps-mode-lexer--newline
-  "[\n\r]"
-  "Newline characters.  The Zend equivalent is (\"\r\"|\"\n\"|\"\r\n\").")
+  "\\(\r\\|\n\\|\r\n\\)"
+  "Newline characters. ")
 
 (defvar phps-mode-lexer-generator--table nil)
 



reply via email to

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