Date: Fri, 26 Aug 2022 14:16:34 +0200 From: Frank Lichtenheld Message-ID: References: <20220826085427.25302-1-frank@...2641...> <20220826085427.25302-7-frank@...2641...> MIME-Version: 1.0 In-Reply-To: Subject: Re: [Openvpn-devel] [PATCH 6/6] reformat for sp_arith=add List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit Content-Disposition: inline To: Antonio Quartulli Cc: openvpn-devel@lists.sourceforge.net On Fri, Aug 26, 2022 at 01:57:05PM +0200, Antonio Quartulli wrote: > On 26/08/2022 11:10, Frank Lichtenheld wrote: > > So this seems to misinterpret '*' and '&' after ')'. > > This doesn't break compilation but is really ugly and confusing. > > > > So NAKing my own patch ;) > > This seems to be a bug in uncrustify :-( > > Basically it thinks that & and * are arithmetic operators in some contexts > and so it adds spaces around them. darn. > > What version are you using? Uncrustify-0.72.0_f from Ubuntu 22.04 -- Frank Lichtenheld