From: Leo Liu Date: Fri, 20 Jul 2012 11:36:41 +0000 (+0800) Subject: * progmodes/cc-langs.el (c-symbol-start): Include char _. X-Git-Tag: emacs-24.2~48 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=542dfbde7049873d438079fd6835c8b4a46ebd80;p=emacs.git * progmodes/cc-langs.el (c-symbol-start): Include char _. Fixes: debbugs:11986 --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 0790df5c25a..87df9b17349 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2012-07-20 Leo Liu + + * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986). + 2012-07-18 Stefan Monnier * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package. diff --git a/lisp/progmodes/cc-langs.el b/lisp/progmodes/cc-langs.el index 493f3db0961..78be8ac2cc4 100644 --- a/lisp/progmodes/cc-langs.el +++ b/lisp/progmodes/cc-langs.el @@ -578,7 +578,7 @@ keyword. It's unspecified how far it matches. Does not contain a \\| operator at the top level." t (concat "[" c-alpha "_]") java (concat "[" c-alpha "_@]") - objc (concat "[" c-alpha "@]") + objc (concat "[" c-alpha "_@]") pike (concat "[" c-alpha "_`]")) (c-lang-defvar c-symbol-start (c-lang-const c-symbol-start))