bug#58537: CC Mode 5.35.1 (C/*l); Keywords being fontified as types at random
Po Lu via CC-Mode-help <[email protected]> Wed, 19 Oct 2022 18:27:34 +0800
| Newsgroups | gmane.emacs.cc-mode.general |
|---|---|
| Message-ID | <[email protected]> |
Alan Mackenzie <[email protected]> writes: > I think the patch solves #58537 together with the problems you reported > since. Does it also solve #58539? Yes, it does, but there's still an unsolved problem: test () { dm_window_ptr window; window = id_private_fetch (); if (window) } if this is edited into: test () { dm_window_ptr window; window = id_private_fetch (); if ((window)addr window) } which is not valid C, but still something that can happen while typing a program, and it is then edited into: test () { dm_window_ptr window; window = id_private_fetch (); if ((window_addr) window) } "window" in the line above the "if" remains fontified as a type. Thanks.