diff options
author | Alan Mackenzie <acm@muc.de> | 2022-11-14 09:47:14 +0000 |
---|---|---|
committer | Alan Mackenzie <acm@muc.de> | 2022-11-14 09:47:14 +0000 |
commit | 7e493b1773b8e7c5762af4e6f21dadec649ce4dc (patch) | |
tree | 0a21dadb1c21bea4c1d2ee831fd009e04d07d4f6 /test/lisp/emacs-lisp/checkdoc-tests.el | |
parent | 83a497ee879959cd1b052fa9138adb79b480394d (diff) | |
download | emacs-7e493b1773b8e7c5762af4e6f21dadec649ce4dc.tar.gz emacs-7e493b1773b8e7c5762af4e6f21dadec649ce4dc.tar.bz2 emacs-7e493b1773b8e7c5762af4e6f21dadec649ce4dc.zip |
CC Mode: Prevent over-eager recognition of a variable as a found type
This fixes bug #59233. It occurred in the C source code fragment
open_replies = alloca (nproviders )
, where typing a * before the closing parenthesis caused nproviders to be
prematurely recognized as a type.
* lisp/progmodes/cc-engine.el (c-forward-decl-or-cast-1): CASE 18 - set
unsafe-maybe to t, when needed.
Diffstat (limited to 'test/lisp/emacs-lisp/checkdoc-tests.el')
0 files changed, 0 insertions, 0 deletions