From: Daniel Colascione Date: Mon, 25 Apr 2011 00:31:41 +0000 (-0700) Subject: * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Use X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~215^2~19 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=05842630f9a2b95a35003ee41aeb10b6df39b1e4;p=emacs.git * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Use correct match group (bug#8438). --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 4d4c93841e5..0a63e6d5dec 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2011-04-24 Daniel Colascione + + * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Use + correct match group (bug#8438). + 2011-04-24 Chong Yidong * emacs-lisp/package.el (package-built-in-p): Fix typo. diff --git a/lisp/progmodes/cc-engine.el b/lisp/progmodes/cc-engine.el index 5ef12300195..0eec54fab6f 100644 --- a/lisp/progmodes/cc-engine.el +++ b/lisp/progmodes/cc-engine.el @@ -6475,7 +6475,7 @@ comment at the start of cc-engine.el for more info." ;; `c-font-lock-declarators'.) (while (and (looking-at c-type-decl-prefix-key) (if (and (c-major-mode-is 'c++-mode) - (match-beginning 2)) + (match-beginning 3)) ;; If the second submatch matches in C++ then ;; we're looking at an identifier that's a ;; prefix only if it specifies a member pointer.