diff options
author | Alan Mackenzie <acm@muc.de> | 2017-04-22 14:45:24 +0000 |
---|---|---|
committer | Alan Mackenzie <acm@muc.de> | 2017-04-22 14:45:24 +0000 |
commit | d354fc38286cba05b3ba2fefb9d9cd6d30deac3d (patch) | |
tree | c69648ef131e92d502fb1a2aded5ba7030a999a0 /test/lisp/emacs-lisp/map-tests.el | |
parent | eb52828a439f674733ba70844b795c6673733572 (diff) | |
download | emacs-d354fc38286cba05b3ba2fefb9d9cd6d30deac3d.tar.gz emacs-d354fc38286cba05b3ba2fefb9d9cd6d30deac3d.tar.bz2 emacs-d354fc38286cba05b3ba2fefb9d9cd6d30deac3d.zip |
Fix fontification of C++ declaration with type FOO::FOO.
* lisp/progmodes/cc-engine.el (c-find-decl-spots): Initialize
cfd-top-level properly.
(c-forward-decl-or-cast-1): On finding FOO::FOO, check it is followed by "("
before deciding it is a constructor.
* lisp/progmodes/cc-fonts.el (c-font-lock-complex-decl-prepare): Negate the
result of the c-bs-at-toplevel-p call passed to c-font-lock-declarators
(simple bug fix).
Diffstat (limited to 'test/lisp/emacs-lisp/map-tests.el')
0 files changed, 0 insertions, 0 deletions