]> git.eshelyaron.com Git - emacs.git/commit
CC Mode: Fontify int unsigned Foo;
authorAlan Mackenzie <acm@muc.de>
Fri, 24 Nov 2023 12:22:08 +0000 (12:22 +0000)
committerAlan Mackenzie <acm@muc.de>
Fri, 24 Nov 2023 12:22:08 +0000 (12:22 +0000)
commit2fca889cfb4fa495a6ffa0c7fe368551ee9a32bc
tree6b71dc8d5b84bd3a7af1280a3ba611c716c1d66b
parent36d9b8ce84afc8aaae3ce067fd24e172c0f631cf
CC Mode: Fontify int unsigned Foo;

This fixes bug#59953.  Foo now gets fontified when unsigned
comes after int.

* lisp/progmodes/cc-engine.el (c-forward-type): Refactor nested
`if' forms into a cond form.  Loop around matches for
c-opt-type-component-key, advancing over them.
lisp/progmodes/cc-engine.el