]> git.eshelyaron.com Git - emacs.git/commit
CC Mode: Improve accuracy of recognition of bitfields
authorAlan Mackenzie <acm@muc.de>
Tue, 8 Nov 2022 14:55:40 +0000 (14:55 +0000)
committerAlan Mackenzie <acm@muc.de>
Tue, 8 Nov 2022 14:55:40 +0000 (14:55 +0000)
commit5fa0fcf18bb23f3a6f028a1478644b7027b02d8c
tree76380e61aee099933b5b337c0a788ad27e6715f6
parent444e46fbee45f1b16db5759eed633a08c7b14fc7
CC Mode: Improve accuracy of recognition of bitfields

* lisp/progmodes/cc-engine.el (c-forward-decl-or-cast-1): When we've got two
identifiers followed by a colon, additionally check for a number (or
identifier) followed by a semicolon or comma before concluding we have a
bitfield.
lisp/progmodes/cc-engine.el