op.c: Factor out common entersub-building code
authorFather Chrysostomos <sprout@cpan.org>
Sun, 10 Nov 2013 05:44:26 +0000 (21:44 -0800)
committerFather Chrysostomos <sprout@cpan.org>
Sun, 10 Nov 2013 06:07:34 +0000 (22:07 -0800)
commitaff26e98cc0d960141a257e961234949344b055b
treea6e917acd085ed7e7a38191a7d37d14bc0cca238
parent93860275f3ff2b42784479b360ddbd9da8afe794
op.c: Factor out common entersub-building code

This same incantation occurs four times, though the readpipe variant
was slightly different.  The only difference was the lack of a scalar
flag on a null op, which makes no difference:

-           <1> ex-rv2cv sK ->-
5              <$> gv(*require) s ->6

-           <1> ex-rv2cv K ->-
5              <$> gv(*readpipe) s ->6

So I did not include the scalar() call, as it was unnecessary.  Also,
I changed op_append_elem to newLISTOP, since the former calls the lat-
ter anyway in these cases.
op.c