]> git.eshelyaron.com Git - emacs.git/commit
Distinguish the two meanings of Java's keyword "default". Fixes bug #22358.
authorAlan Mackenzie <acm@muc.de>
Sat, 23 Jan 2016 19:38:49 +0000 (19:38 +0000)
committerAlan Mackenzie <acm@muc.de>
Sat, 23 Jan 2016 19:38:49 +0000 (19:38 +0000)
commita1865bcf966eafdce28f50fb8a19c1bfd831079a
treedcb1e7f0a1d41a1328e0e3d2a1649f31dfd9488f
parent76045f7d6f654ea20e09412e5054f9159d1bb142
Distinguish the two meanings of Java's keyword "default".  Fixes bug #22358.

* lisp/progmodes/cc-engine.el (c-guess-basic-syntax CASE 14): Check the
context of case labels (including "default") more rigorously.
(c-guess-basic-syntax CASE 15): Consequential amendment.

* lisp/progmodes/cc-langs.el (c-modifier-kwds): Add "default" to Java's value.
lisp/progmodes/cc-engine.el
lisp/progmodes/cc-langs.el