mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-24 07:20:37 +00:00
CC Mode: Only recognize foo (*bar) as a function pointer when followed by (
* lisp/progmodes/cc-engine.el (c-forward-over-decl-or-cast-1): (after CASE 2) test variables got-suffix-after-parens and at-decl-end before invoking c-fdoc-shift-type-backward.
This commit is contained in:
parent
85d1d8d768
commit
8abce5b0c6
@ -9858,8 +9858,9 @@ This function might do hidden buffer changes."
|
||||
(throw 'at-decl-or-cast t))
|
||||
|
||||
(when (and got-parens
|
||||
(not got-function-name-prefix)
|
||||
;; (not got-suffix-after-parens)
|
||||
(or (not got-function-name-prefix)
|
||||
(and (not got-suffix-after-parens)
|
||||
at-decl-end))
|
||||
(or backup-at-type
|
||||
maybe-typeless
|
||||
backup-maybe-typeless
|
||||
|
Loading…
Reference in New Issue
Block a user