* 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:
@@ -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))))
|
||||
|
||||
Reference in New Issue
Block a user