diff options
author | Alan Mackenzie <acm@muc.de> | 2018-04-02 19:53:41 +0000 |
---|---|---|
committer | Alan Mackenzie <acm@muc.de> | 2018-04-02 19:53:41 +0000 |
commit | 3cf4c8d9eb1e560e08a9c98d81f9640affdd9ce9 (patch) | |
tree | 5895dcdc26c67893e7323e3266a68f06a103322f /lisp/progmodes/cc-vars.el | |
parent | dfa922dd844c7af966a42b949aee32248ce4e8a2 (diff) | |
download | emacs-3cf4c8d9eb1e560e08a9c98d81f9640affdd9ce9.tar.gz |
* lisp/progmodes/cc-{defs,engine,langs,vars}.el: Comment the use of "a\\`"
Diffstat (limited to 'lisp/progmodes/cc-vars.el')
-rw-r--r-- | lisp/progmodes/cc-vars.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/progmodes/cc-vars.el b/lisp/progmodes/cc-vars.el index fcb1cac0992..047511406d9 100644 --- a/lisp/progmodes/cc-vars.el +++ b/lisp/progmodes/cc-vars.el @@ -1647,6 +1647,7 @@ white space either before or after the operator, but not both." :type 'boolean :group 'c) +;; Initialize the next two to a regexp which never matches. (defvar c-noise-macro-with-parens-name-re "a\\`") (defvar c-noise-macro-name-re "a\\`") @@ -1677,7 +1678,7 @@ These are recognized by CC Mode only in declarations." ;; Convert `c-noise-macro-names' and `c-noise-macro-with-parens-names' into ;; `c-noise-macro-name-re' and `c-noise-macro-with-parens-name-re'. (setq c-noise-macro-with-parens-name-re - (cond ((null c-noise-macro-with-parens-names) "a\\`") + (cond ((null c-noise-macro-with-parens-names) "a\\`") ; Never matches. ((consp c-noise-macro-with-parens-names) (concat (regexp-opt c-noise-macro-with-parens-names t) "\\([^[:alnum:]_$]\\|$\\)")) @@ -1686,7 +1687,7 @@ These are recognized by CC Mode only in declarations." (t (error "c-make-noise-macro-regexps: \ c-noise-macro-with-parens-names is invalid: %s" c-noise-macro-with-parens-names)))) (setq c-noise-macro-name-re - (cond ((null c-noise-macro-names) "a\\`") + (cond ((null c-noise-macro-names) "a\\`") ; Never matches anything. ((consp c-noise-macro-names) (concat (regexp-opt c-noise-macro-names t) "\\([^[:alnum:]_$]\\|$\\)")) |