summaryrefslogtreecommitdiff
path: root/lib/regex.h
diff options
context:
space:
mode:
authorAlan Mackenzie <acm@muc.de>2021-02-02 20:34:42 +0000
committerAlan Mackenzie <acm@muc.de>2021-02-02 20:34:42 +0000
commit9a67da98a25f545ff68540e01a06bc62605ee147 (patch)
tree82b4e27a9dbdc89785d64630ab41dcf761fabe46 /lib/regex.h
parent04ab3904eddc01af918fb85b8712cd5d45238468 (diff)
downloademacs-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 'lib/regex.h')
0 files changed, 0 insertions, 0 deletions