* lisp/progmodes/cc-engine.el (c-forward-decl-or-cast-1): check type-start
Check type-start is non-nil at L659 of the function.
This commit is contained in:
parent
5a3242301d
commit
8e8a920246
1 changed files with 1 additions and 0 deletions
|
@ -10409,6 +10409,7 @@ This function might do hidden buffer changes."
|
||||||
;; are directly inside a class (etc.) called "bar".
|
;; are directly inside a class (etc.) called "bar".
|
||||||
(save-excursion
|
(save-excursion
|
||||||
(and
|
(and
|
||||||
|
type-start
|
||||||
(progn
|
(progn
|
||||||
(goto-char name-start)
|
(goto-char name-start)
|
||||||
(not (memq (c-forward-type) '(nil maybe))))
|
(not (memq (c-forward-type) '(nil maybe))))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue