Fix variables in C++ "for" statement not always being fontified.
commit30e6e558701ebc781cdca3b9d61d995004cfef7d
authorAlan Mackenzie <acm@muc.de>
Thu, 27 Jul 2017 17:05:53 +0000 (27 17:05 +0000)
committerAlan Mackenzie <acm@muc.de>
Thu, 27 Jul 2017 17:05:53 +0000 (27 17:05 +0000)
treef2f190c4ddc3d5aabbe6fb06962827d1b6fa2bca
parent82583d4dde465c0d923eec306d0f9c5d671955bc
Fix variables in C++ "for" statement not always being fontified.

The error happened when there was a comma inside template delimiters.

* lisp/progmodes/cc-fonts.el (c-get-fontification-context): In "for"
statements, recognise template delimiters containing "," and "&".
lisp/progmodes/cc-fonts.el