This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Produce the right error for goto "\0"
authorFather Chrysostomos <sprout@cpan.org>
Mon, 23 Apr 2012 03:34:24 +0000 (20:34 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Mon, 21 May 2012 23:51:30 +0000 (16:51 -0700)
Since we have supported for embedded nulls in strings, we shouldn’t
be using if(*label) to see whether label has a non-zero length.

It’s probably not possible to get a null into a label, but we should
still say ‘can’t find’ rather than ‘must have’ in that case.


No differences found