emacs-diffs
[Top][All Lists]
Advanced

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

master 5d1bac0: * lisp/progmodes/cc-mode.el (c-or-c++-mode--regexp): Cha


From: Alan Mackenzie
Subject: master 5d1bac0: * lisp/progmodes/cc-mode.el (c-or-c++-mode--regexp): Change WS to [ \t] in it
Date: Thu, 2 Jul 2020 14:16:14 -0400 (EDT)

branch: master
commit 5d1bac0ac951e25d0b0b39a9919f13053162d5df
Author: Alan Mackenzie <acm@muc.de>
Commit: Alan Mackenzie <acm@muc.de>

    * lisp/progmodes/cc-mode.el (c-or-c++-mode--regexp): Change WS to [ \t] in 
it
---
 lisp/progmodes/cc-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/progmodes/cc-mode.el b/lisp/progmodes/cc-mode.el
index bd0efc6..92c1ce8 100644
--- a/lisp/progmodes/cc-mode.el
+++ b/lisp/progmodes/cc-mode.el
@@ -2597,7 +2597,7 @@ Key bindings:
 
 (defconst c-or-c++-mode--regexp
   (eval-when-compile
-    (let ((id "[a-zA-Z_][a-zA-Z0-9_]*") (ws "[ \t\r]+") (ws-maybe "[ \t\r]*")
+    (let ((id "[a-zA-Z_][a-zA-Z0-9_]*") (ws "[ \t]+") (ws-maybe "[ \t]*")
           (headers '("string" "string_view" "iostream" "map" "unordered_map"
                      "set" "unordered_set" "vector" "tuple")))
       (concat "^" ws-maybe "\\(?:"



reply via email to

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