This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
regmatch(): remove reginput from TRIE_next_fail:
authorDavid Mitchell <davem@iabyn.com>
Thu, 13 Sep 2012 09:28:11 +0000 (10:28 +0100)
committerDavid Mitchell <davem@iabyn.com>
Fri, 14 Sep 2012 07:49:34 +0000 (08:49 +0100)
commita059a7574089158807ed2ac7bd20a6acd7beb596
treea5447620ecf94ebf116bbef84f52b0925e16236a
parent4d5016e517680a5737e4ec797afda95483a9b1fe
regmatch(): remove reginput from TRIE_next_fail:

It was being used essentially as a temporary var within the branch,
so replace it with a temp var in a new block scope.

This is part of a campaign to eliminate the reginput variable.
regexec.c