* 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".
|
;; 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))))
|
||||||
|
|||||||
Reference in New Issue
Block a user