Fontify bitfield declarations properly.
authorAlan Mackenzie <acm@muc.de>
Tue, 26 Jul 2011 19:18:40 +0000 (19:18 +0000)
committerAlan Mackenzie <acm@muc.de>
Tue, 26 Jul 2011 19:18:40 +0000 (19:18 +0000)
commitb248a85d103b7f34b9747e8d6884179bf3d4decb
tree333bf00f158a25e470684db5ef2dcfaa2e96663e
parent68575ab00b802b29b0bc74ebb3780a81a7550698
Fontify bitfield declarations properly.

cc-langs.el (c-has-bitfields): New lang variable.
(c-symbol-chars): Now exported as a lang variable.
(c-not-primitive-type-keywords): New lang variable.

cc-fonts.el (c-font-lock-declarations): Jump over the QT keyword "more"
to prevent "more slots: ...." being spuriously parsed as a bitfield
declaraion.

cc-engine.el (c-beginning-of-statement-1): Refactor and enhance to handle
bitfield declarations.
(c-punctuation-in): New function.
(c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
declarations properly.
lisp/ChangeLog
lisp/progmodes/cc-engine.el
lisp/progmodes/cc-fonts.el
lisp/progmodes/cc-langs.el