]> git.eshelyaron.com Git - emacs.git/commit
Fix spurious fontification of "for (; a * b;)" in CC Mode.
authorAlan Mackenzie <acm@muc.de>
Mon, 25 Apr 2016 17:57:24 +0000 (17:57 +0000)
committerAlan Mackenzie <acm@muc.de>
Mon, 25 Apr 2016 17:57:24 +0000 (17:57 +0000)
commit89d1776b81ab552192ee41f13ce84ff86bda4556
tree6379dcc27fd3543a5f513794fe920b41beaa6b4f
parent86d083438dba60dc00e9e96414bf7e832720c05a
Fix spurious fontification of "for (; a * b;)" in CC Mode.

* lisp/progmodes/cc-fonts.el (c-font-lock-declarations): Check for being
inside the parens of a for statement and after a semicolon near the beginning
of the lambda form.
lisp/progmodes/cc-fonts.el