]> git.eshelyaron.com Git - emacs.git/commit
CC Mode: fix indentation in switch statement after "case a(1):".
authorAlan Mackenzie <acm@muc.de>
Wed, 15 May 2019 08:58:31 +0000 (08:58 +0000)
committerAlan Mackenzie <acm@muc.de>
Wed, 15 May 2019 08:58:31 +0000 (08:58 +0000)
commit356fb18a1f64e58559fef92016be258b8cc70753
tree66a09005124dac1132e2c0152f5b630ce46930f0
parent8f544c610445e763c4fca4a2d6773a099385a3a6
CC Mode: fix indentation in switch statement after "case a(1):".

* lisp/progmodes/cc-engine.el (c-beginning-of-statement-1): Enhance the
analysis of case labels to handle parenthesised expressions (e.g. macros).

* lisp/progmodes/cc-langs.el (c-nonlabel-nonparen-token-key): New lang const
and lang var.
lisp/progmodes/cc-engine.el
lisp/progmodes/cc-langs.el