diff options
author | Alan Mackenzie <acm@muc.de> | 2021-02-02 20:34:42 +0000 |
---|---|---|
committer | Alan Mackenzie <acm@muc.de> | 2021-02-02 20:34:42 +0000 |
commit | 9a67da98a25f545ff68540e01a06bc62605ee147 (patch) | |
tree | 82b4e27a9dbdc89785d64630ab41dcf761fabe46 /lisp/emacs-lisp/cl-print.el | |
parent | 04ab3904eddc01af918fb85b8712cd5d45238468 (diff) | |
download | emacs-9a67da98a25f545ff68540e01a06bc62605ee147.tar.gz emacs-9a67da98a25f545ff68540e01a06bc62605ee147.tar.bz2 emacs-9a67da98a25f545ff68540e01a06bc62605ee147.zip |
CC Mode: Prevent "const" inside an identifier being recognized as the keyword
This fixes bug #45560.
* lisp/progmodes/cc-engine.el (c-forward-declarator)
(c-forward-decl-or-cast-1): Amend certain regexp match numbers on account of
the change below. Surround some looking-at calls with save-match-data.
* lisp/progmodes/cc-langs.el (c-type-decl-prefix-keywords-key): New lang
const.
(c-type-decl-prefix-key): Reformulate to match operators and keywords
separately, using the new lang const (above).
Diffstat (limited to 'lisp/emacs-lisp/cl-print.el')
0 files changed, 0 insertions, 0 deletions