]> git.eshelyaron.com Git - emacs.git/commit
CC Mode: Fix the "asymmetry rule" for fontifying a type followed by *
authorAlan Mackenzie <acm@muc.de>
Fri, 25 Nov 2022 09:49:02 +0000 (09:49 +0000)
committerAlan Mackenzie <acm@muc.de>
Fri, 25 Nov 2022 09:49:02 +0000 (09:49 +0000)
commit639adf26a1b43445eaf52e4246cf1f5b46b5e12d
treea1aedc78cff6111c4aba33142fb6536617840e42
parenta7f8087d7fc995e41b4cd6143e5833e6e3a9dac4
CC Mode: Fix the "asymmetry rule" for fontifying a type followed by *

This fixes bug #59427.  We now handle correctly the case when a parenthesis
follows the * which is ambiguously a multiplication or indirection operator.
Also, we don't recognise a type thus found as a found type - the evidence is
too weak.

* lisp/progmodes/cc-engine.el (c-forward-decl-or-cast-1): Fix CASE 17.5 as
above.
lisp/progmodes/cc-engine.el