Fix confusion in C++ file caused by comma in "= {1,2},".
commitd6c17223fe47050708c3162d755fe91b1d6c73e7
authorAlan Mackenzie <acm@muc.de>
Sat, 2 Aug 2014 18:52:48 +0000 (2 18:52 +0000)
committerAlan Mackenzie <acm@muc.de>
Sat, 2 Aug 2014 18:52:48 +0000 (2 18:52 +0000)
treee541a8e46302944b514d7d2cc381750e8576acd8
parentdbc471b1336430da331973309b15d889618e30b2
Fix confusion in C++ file caused by comma in "= {1,2},".
cc-engine.el (c-beginning-of-statement-1): In checking for a statement
boundary marked by "}", check there's no "=" before the "{".
(c-guess-basic-syntax CASE 9B): Call c-beginning-of-statement with
non-nil `comma-delim' argument.
cc-fonts.el (c-font-lock-declarators): Parse an initializer expression
more accurately.
lisp/ChangeLog
lisp/progmodes/cc-engine.el
lisp/progmodes/cc-fonts.el