bug#59267: CC Mode 5.35.2 (C/*l); implicit int declaration recognized as type

Po Lu via CC-Mode-help <[email protected]> Thu, 17 Nov 2022 08:28:02 +0800
Newsgroups gmane.emacs.cc-mode.general
Message-ID <[email protected]>
Alan Mackenzie <[email protected]> writes:

> Yes.  I think this would be very rare in modern code, depending on an
> implicit type, int, following a specifier such as "register".  At least,
> I hope so!
>
> This was actually quite tricky to fix.  As well as "register", the code
> should now handle the implicit int following (all of the?) other
> specifiers, too.
>
> Would you please try out the attached patch on your real code, and let
> me know how well it works.  Thanks!

This works fine, thanks!