CC Mode: Fix declarator being cut off from terminator by end of jit-lock chunk
commit28faa94f1c423091bb34c2776eabe9ae83e5b4fc
authorAlan Mackenzie <acm@muc.de>
Thu, 27 Jul 2017 06:27:13 +0000 (27 06:27 +0000)
committerAlan Mackenzie <acm@muc.de>
Thu, 27 Jul 2017 06:27:13 +0000 (27 06:27 +0000)
treebf5c5ca36030b9e8dd61b6b67bf62b52d7c21b8f
parent2d1d54d333735c0128fd31edb183a71298ef5cfc
CC Mode: Fix declarator being cut off from terminator by end of jit-lock chunk

If a declarator is so cut off, extend the fontification chunk to include it.

* lisp/progmodes/cc-mode.el (c-fl-decl-end): New function.
(c-change-expand-fl-region, c-context-expand-fl-region): Use the new function.
lisp/progmodes/cc-mode.el