aboutsummaryrefslogtreecommitdiffstats
path: root/test/src
diff options
context:
space:
mode:
authorAlan Mackenzie2023-04-05 13:02:12 +0000
committerAlan Mackenzie2023-04-05 13:02:12 +0000
commita42f4a775bab61581d6b8dbd4fe2eeab55a6ea31 (patch)
tree850fa208c92cbfb285f070fa9dbefb9450e246ac /test/src
parent8678708ad10b17a4609c950a02cf39ab9ff86317 (diff)
downloademacs-a42f4a775bab61581d6b8dbd4fe2eeab55a6ea31.tar.gz
emacs-a42f4a775bab61581d6b8dbd4fe2eeab55a6ea31.zip
CC Mode: Fix fontification problems shown by test file templates-20.cc
Also fix one problem evident in test file decls-10.cc. * lisp/progmodes/cc-engine.el (c-brace-stack-at): Bind c-record-type-identifiers to nil to prevent called functions recording identifiers spuriously. (c-forward-<>-arglist-recur): Revert the ill-advised optimization from autumn 2022 which attempted to avoid re-marking c-type text properties inside angle bracket arglists. (c-forward-decl-or-cast-1): Accept the semicolon at the end of "t8 * id;" as sufficient evidence to fontify as a declaration (not a multiplication). * lisp/progmodes/cc-fonts.el (c-font-lock-c++-using): No longer fontify the last component of foo::bar with c-reference-face-name.
Diffstat (limited to 'test/src')
0 files changed, 0 insertions, 0 deletions