This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
[perl #127122] warn on unless (assignment) when syntax warnings are on
authorTony Cook <tony@develop-help.com>
Sun, 3 Jan 2016 23:17:22 +0000 (10:17 +1100)
committerTony Cook <tony@develop-help.com>
Thu, 21 Jan 2016 00:49:34 +0000 (11:49 +1100)
commit08b3e84fbb1c493d7157c2ad8d1dec4242c965cc
tree93cfe5dfd8ca9d0af6b68d057a61b53815581a08
parentd15ad02e8936a558368fd0a2b425c0e184ee848e
[perl #127122] warn on unless (assignment) when syntax warnings are on

Previously the assignment was hidden by the not op wrapped around the
condition, but newCONDOP() is sufficiently flexible that it isn't
needed.
perly.act
perly.h
perly.tab
perly.y
t/lib/warnings/op