diff options
author | Alan Mackenzie <acm@muc.de> | 2009-09-26 09:18:41 +0000 |
---|---|---|
committer | Alan Mackenzie <acm@muc.de> | 2009-09-26 09:18:41 +0000 |
commit | 0000ee90eb09ea3f4c2f36ac8e453be3f0ec3f0e (patch) | |
tree | 046f1b3b0a9d183344bc1f93b9e788d6bd92d1f4 /lisp/progmodes/cc-langs.el | |
parent | d9a13f68b599e73e0d7fc63510baafae00adeca6 (diff) | |
download | emacs-0000ee90eb09ea3f4c2f36ac8e453be3f0ec3f0e.tar.gz |
cc-langs.el (c-nonlabel-token-key): Allow quoted character constants (as
case labels).
cc-engine.el (c-beginning-of-statement-1): Correct buggy bracketing.
Diffstat (limited to 'lisp/progmodes/cc-langs.el')
-rw-r--r-- | lisp/progmodes/cc-langs.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/cc-langs.el b/lisp/progmodes/cc-langs.el index 9c19e791c3e..0e0eca228bc 100644 --- a/lisp/progmodes/cc-langs.el +++ b/lisp/progmodes/cc-langs.el @@ -2885,7 +2885,7 @@ tested at the beginning of every sexp in a suspected label, 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) |