]> git.eshelyaron.com Git - emacs.git/commit
CC Mode: Fontify foo in "const auto foo :" correctly
authorAlan Mackenzie <acm@muc.de>
Sun, 23 Feb 2020 11:00:28 +0000 (11:00 +0000)
committerAlan Mackenzie <acm@muc.de>
Sun, 23 Feb 2020 11:00:28 +0000 (11:00 +0000)
commit884b68ca2c63c98d3fa90ca5f11b47286d2fb85c
tree3dbba74c3e9d4465e3ee96563b6e296d5af60100
parentaff8bca77c0e32b7d7044dae73a2848f91d0e35b
CC Mode: Fontify foo in "const auto foo :" correctly

* lisp/progmodes/cc-engine.el (c-forward-decl-or-cast-1): While attempting to
find a declaration's identifier, recast the latest found id. as that
identifier when there is no other type identifier and the result of the most
recent c-forward-type call is 'maybe or 'found.  In the latter case, remove
the id. from the found types list, too.
lisp/progmodes/cc-engine.el