* progmodes/cc-engine.el (c-forward-decl-or-cast-1): Use
correct match group (bug#8438).
This commit is contained in:
parent
a3af29290e
commit
05842630f9
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
|
||||
|
||||
* progmodes/cc-engine.el (c-forward-decl-or-cast-1): Use
|
||||
correct match group (bug#8438).
|
||||
|
||||
2011-04-24 Chong Yidong <cyd@stupidchicken.com>
|
||||
|
||||
* emacs-lisp/package.el (package-built-in-p): Fix typo.
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue