develooper Front page | perl.perl5.porters | Postings from May 2019

Re: [perl #133132] fix missing parentheses in 'if' statement

Thread Previous
From:
Leon Timmermans
Date:
May 26, 2019 13:21
Subject:
Re: [perl #133132] fix missing parentheses in 'if' statement
Message ID:
CAHhgV8j0O6zS6bC9XYoB3i3WwEjeszMW2XZpyasieTgVNVR0zQ@mail.gmail.com
On Sun, May 26, 2019 at 2:30 AM Karl Williamson via RT
<perlbug-followup@perl.org> wrote:
>
> Thanks.  Finally applied as916db6e8921c4bf39aa0645f0ac7e6f32f168617
>
> Some of the changes were no longer applicable.  This doesn't actually fix any bugs.  The macros expand to have surrounding parentheses, but it is best to have explicit ones, which this patch adds.

It does seem like a good idea. When possible macro usage shouldn't
only be syntactically valid, it should also look syntactically valid.

Leon

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About