This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
toke.c: Simplify expression
authorKarl Williamson <khw@cpan.org>
Wed, 28 Dec 2016 03:55:13 +0000 (20:55 -0700)
committerKarl Williamson <khw@cpan.org>
Tue, 3 Jan 2017 04:46:42 +0000 (21:46 -0700)
commit87dd6ea7d465d7912157b79f9d292353cc5a188e
tree9fbc229ca4cfd71bc25634137d97ca4874f0093c
parent5dfbfbd5a7bf2502dbdafd98ce9e7698d2b7d230
toke.c: Simplify expression

Unless there's a reason its needed, I prefer not to set a variable
within an 'if', as it increases the reader's cognitive load.
toke.c