Correctly fontify Java class constructors.
commite8dd0787d9c19e81344552d185e9008031f58723
authorAlan Mackenzie <acm@muc.de>
Sat, 7 Sep 2013 14:33:50 +0000 (7 14:33 +0000)
committerAlan Mackenzie <acm@muc.de>
Sat, 7 Sep 2013 14:33:50 +0000 (7 14:33 +0000)
tree5362b43c9e443f32fbeb9659dd4a353c656d78f9
parent1db9ceee691bdc46b2103ae8bbd265b720babdc4
Correctly fontify Java class constructors.
* progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
in Java Mode.
(c-recognize-typeless-decls): Set the Java value to t.
* progmodes/cc-engine.el (c-forward-decl-or-cast-1): While
handling a "(", add a check for, effectively, Java, and handle a
"typeless" declaration there.
lisp/ChangeLog
lisp/progmodes/cc-engine.el
lisp/progmodes/cc-langs.el