* 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".
|
||||
(save-excursion
|
||||
(and
|
||||
type-start
|
||||
(progn
|
||||
(goto-char name-start)
|
||||
(not (memq (c-forward-type) '(nil maybe))))
|
||||
|
|
Loading…
Add table
Reference in a new issue