case labels).
cc-engine.el (c-beginning-of-statement-1): Correct buggy bracketing.
(not (eq ret 'beginning))
(looking-at c-case-kwds-regexp))
(if (< after-case:-pos start)
- (setq pos after-case:-pos)
- (setq ret 'label)))
+ (setq pos after-case:-pos))
+ (if (eq ret 'same)
+ (setq ret 'label)))
;; Skip over the unary operators that can start the statement.
(while (progn
i.e. before \":\". Only used if `c-recognize-colon-labels' is set."
t (concat
;; Don't allow string literals.
- "[\"']\\|"
+ "\"\\|"
;; All keywords except `c-label-kwds' and `c-protection-kwds'.
(c-make-keywords-re t
(set-difference (c-lang-const c-keywords)