Subject: Re: bug#39409: CC Mode 5.33.1 (C/*l); Wrong fontification of "foo * sizeof"

From: Benjamin Moody <[email-masked]>
Date: Fri, 7 Feb 2020 17:47:33 +0000

Hi,

> diff -r a5dbcca7730b -r 19eb4ddc766b cc-engine.el
> --- a/cc-engine.el	Sat Sep 21 12:09:54 2019 +0000
> +++ b/cc-engine.el	Sat Sep 21 12:11:27 2019 +0000
> @@ -10109,7 +10109,8 @@
>  		     (throw 'at-decl-or-cast t)))))
>
>  	   ;; CASE 18
> -	   (when (and (not (memq context '(nil top)))
> +	   (when (and at-decl-end
> +		      (not (memq context '(nil top)))
>  		      (or (and got-prefix (not got-number))
>  			  (and (eq context 'decl)
>  			       (not c-recognize-paren-inits)

Yes, this patch fixes the issue.  Thanks once again!

Benjamin