emacs-diffs
[Top][All Lists]
Advanced

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

emacs-27 66bcec8: * lisp/progmodes/cc-langs.el (c-<>-notable-chars-re):


From: Alan Mackenzie
Subject: emacs-27 66bcec8: * lisp/progmodes/cc-langs.el (c-<>-notable-chars-re): Fix wrong '-' in regexp
Date: Sun, 15 Nov 2020 05:37:08 -0500 (EST)

branch: emacs-27
commit 66bcec8838ab05b5690d7f530851ecf594c5d877
Author: Alan Mackenzie <acm@muc.de>
Commit: Alan Mackenzie <acm@muc.de>

    * lisp/progmodes/cc-langs.el (c-<>-notable-chars-re): Fix wrong '-' in 
regexp
---
 lisp/progmodes/cc-langs.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/progmodes/cc-langs.el b/lisp/progmodes/cc-langs.el
index 0a7f456..56c3a48 100644
--- a/lisp/progmodes/cc-langs.el
+++ b/lisp/progmodes/cc-langs.el
@@ -3643,7 +3643,7 @@ When \"(\" is present, that defun will attempt to parse a
 parenthesized expression inside the template.  When \")\" is
 present it will treat an unbalanced closing paren as a sign of
 the invalidity of the putative template construct."
-  t "[<;{},|+&->)]"
+  t "[<;{},|+&>)-]"
   c++ "[<;{},>()]")
 (c-lang-defvar c-<>-notable-chars-re (c-lang-const c-<>-notable-chars-re))
 



reply via email to

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