diff options
author | Daniel Colascione <dan.colascione@gmail.com> | 2011-04-24 17:31:41 -0700 |
---|---|---|
committer | Daniel Colascione <dan.colascione@gmail.com> | 2011-04-24 17:31:41 -0700 |
commit | 05842630f9a2b95a35003ee41aeb10b6df39b1e4 (patch) | |
tree | 7f4cb64e5e5ccf807b0a1de3f9c327be383d17dc /lisp/progmodes/cc-engine.el | |
parent | a3af29290ecf2edc793c4e7c13310985a63ffac0 (diff) | |
download | emacs-05842630f9a2b95a35003ee41aeb10b6df39b1e4.tar.gz |
* progmodes/cc-engine.el (c-forward-decl-or-cast-1): Use
correct match group (bug#8438).
Diffstat (limited to 'lisp/progmodes/cc-engine.el')
-rw-r--r-- | lisp/progmodes/cc-engine.el | 2 |
1 files changed, 1 insertions, 1 deletions
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. |