projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a32423
)
* lisp/progmodes/cc-engine.el (c-forward-decl-or-cast-1): check type-start
author
Alan Mackenzie
<acm@muc.de>
Mon, 18 Oct 2021 16:49:19 +0000
(16:49 +0000)
committer
Alan Mackenzie
<acm@muc.de>
Mon, 18 Oct 2021 16:53:19 +0000
(16:53 +0000)
Check type-start is non-nil at L659 of the function.
lisp/progmodes/cc-engine.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/cc-engine.el
b/lisp/progmodes/cc-engine.el
index 20cdb72ccf14eba95e02b5e70682f4f69cb65aef..c42c95764a21603396f0566a0123e9fdd2de44c7 100644
(file)
--- a/
lisp/progmodes/cc-engine.el
+++ b/
lisp/progmodes/cc-engine.el
@@
-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))))