This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
regcomp.c: Use name consistently
authorKarl Williamson <khw@cpan.org>
Tue, 18 Sep 2018 00:17:02 +0000 (18:17 -0600)
committerKarl Williamson <khw@cpan.org>
Sat, 20 Oct 2018 06:09:54 +0000 (00:09 -0600)
commit44f36cd37d60795fe63f3fff6d0f20edc886497d
treedbaca1a127c03cf9edf002cb1d4b361888541678
parentf55b7b26c4afa4768435a9da9f0798829bbf41f7
regcomp.c: Use name consistently

In the function Perl_re_op_compile(), there is a stack variable 'ri',
and an element of a stack structure rxi, which part way through one is
set to the other, so that at times one is used and other times the other
is used.  This commit removes the variable, in favor of the struct
element, making consistent use throughout the function (and since the
struct is passed to its callees, it makes this value available to them
always)
regcomp.c