]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/progmodes/cc-mode.el (c-or-c++-mode--regexp): Change WS to [ \t] in it
authorAlan Mackenzie <acm@muc.de>
Thu, 2 Jul 2020 18:14:30 +0000 (18:14 +0000)
committerAlan Mackenzie <acm@muc.de>
Thu, 2 Jul 2020 18:14:30 +0000 (18:14 +0000)
lisp/progmodes/cc-mode.el

index bd0efc681ebddf35d549a258fc3bb441f8d12070..92c1ce89b8c6e9c8cea893c62ee1323c5fb1b90a 100644 (file)
@@ -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 "\\(?:"