Re: bug#54743: CC Mode 5.35.1 (C/*l); Incorrect fontification of function call as function name
Po Lu via CC-Mode-help <[email protected]> Sun, 10 Apr 2022 09:05:36 +0800
| Newsgroups | gmane.emacs.cc-mode.general |
|---|---|
| Message-ID | <[email protected]> |
Alan Mackenzie <[email protected]> writes: > This bug has the same cause as bug #52796, namely that a function's type > contains the keyword struct, and an internal CC Mode cache thus thinks > that the function's { is a struct's {, and that we are thus still at > "top level". The "fix" to that bug was to handle the * in "struct foo > *" specially, but that wasn't a good enough fix for when "struct foo" > occurs without a *, as here. > > So, the cause of the bug is understood. The challenge will be to fix it > without unduly slowing down CC Mode. That's not going to happen this > afternoon, I'm afraid. Thanks for looking into it.