bug#58534: CC Mode 5.35.1 (C/*l); Incorrect fontification of params as types

Po Lu via CC-Mode-help <[email protected]> Sat, 15 Oct 2022 19:24:24 +0800
Newsgroups gmane.emacs.cc-mode.general
Message-ID <[email protected]>
Alan Mackenzie <[email protected]> writes:

> Thanks for the bug report, thanks also for the CC Mode configuration
> dump.
>
> I think I know what's causing the bug; With "struct wl_surface", CC Mode
> decides "wl_surface" is a type, and thus fontifies occurrences of
> "wl_surface" as types.  Unfortunately, there are variables of this name,
> too.
>
> Give me a little time, and I will come up with a solution.

Thanks.