[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-28 8e8a920: * lisp/progmodes/cc-engine.el (c-forward-decl-or-cast-
From: |
Alan Mackenzie |
Subject: |
emacs-28 8e8a920: * lisp/progmodes/cc-engine.el (c-forward-decl-or-cast-1): check type-start |
Date: |
Mon, 18 Oct 2021 12:53:35 -0400 (EDT) |
branch: emacs-28
commit 8e8a9202469d568b18ea97319e5627fefd833c0b
Author: Alan Mackenzie <acm@muc.de>
Commit: Alan Mackenzie <acm@muc.de>
* 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.
---
lisp/progmodes/cc-engine.el | 1 +
1 file changed, 1 insertion(+)
diff --git a/lisp/progmodes/cc-engine.el b/lisp/progmodes/cc-engine.el
index 20cdb72..c42c957 100644
--- 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))))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- emacs-28 8e8a920: * lisp/progmodes/cc-engine.el (c-forward-decl-or-cast-1): check type-start,
Alan Mackenzie <=