This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
pp_formline: don't set itemsize in FF_LINEGLOB
authorDavid Mitchell <davem@iabyn.com>
Sun, 29 May 2011 11:41:42 +0000 (12:41 +0100)
committerDavid Mitchell <davem@iabyn.com>
Sun, 29 May 2011 19:21:53 +0000 (20:21 +0100)
commita1137ee5607c4873f12c9cc5e710d25e9df62f26
tree00f2738279b245f4705761bb92381636cb899d9b
parent75645721ec0bf7e29d35fd08c19b30c0ac877f1c
pp_formline: don't set itemsize in FF_LINEGLOB

This var is used to enable padding or truncating of output items.
FF_LINESNGL/FF_LINEGLOB do their own version of this, so there's
no need to set it there.

Or to put it another way, we don't expect a FF_LINESNGL or FF_LINEGLOB op
to be followed immediately by FF_SPACE, FF_HALFSPACE, FF_ITEM nor FF_MORE.

Not calculating it makes the code simpler and eases the path to merging
the appending code.
pp_ctl.c