This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
toke.c: Unpaired '\E's in double-quotish contexts should warn.
authorBrian Fraser <fraserbn@gmail.com>
Fri, 30 Dec 2011 04:01:21 +0000 (01:01 -0300)
committerFather Chrysostomos <sprout@cpan.org>
Tue, 3 Jan 2012 06:30:40 +0000 (22:30 -0800)
commit52ed07f6cefce274b246146dd14fc3fc836677f6
tree9b2baba5b9f5b37b7d82605e7ebe0a3f7d86dc69
parent7d6220ecda024f14ec8330f7415c2d4bed7ee62b
toke.c: Unpaired '\E's in double-quotish contexts should warn.

Until now, an unpaired \E (that is, one lacking a \U, \L or \Q)
would just pass through unnoticed. This commit changes that
behavior to issue a warning instead.
pod/perldiag.pod
t/lib/warnings/toke
toke.c