This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
toke.c: Fix wrong use of memrchr
authorKarl Williamson <khw@cpan.org>
Tue, 7 Nov 2017 22:56:32 +0000 (15:56 -0700)
committerKarl Williamson <khw@cpan.org>
Tue, 7 Nov 2017 22:58:55 +0000 (15:58 -0700)
commit9f8d27b7d21e672ce31e073fdc4c6d8130572c04
tree829b7dbb72c05954d3a0ab9e90dd2eec5ee29ee7
parent47324b4ed3120b0540af346145c4af021b01dd12
toke.c: Fix wrong use of memrchr

This was a replacement of strchr(), so should not have used the
find-right-most memrchr.

This was spotted by Christian Hansen.  I don't know what the
implications are, but thought I should get a fix in immediately.
toke.c