This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
stop passing line numbers into op constructor functions
authorZefram <zefram@fysh.org>
Sat, 23 Oct 2010 14:40:58 +0000 (15:40 +0100)
committerFather Chrysostomos <sprout@cpan.org>
Mon, 25 Oct 2010 19:29:47 +0000 (12:29 -0700)
commit94bf0465170f13a4a3114b27d564dc2287d466b2
tree4156eb4d63521dfab715d1cef1a2c94181b43c81
parenteae48c8938e50ebb341a72c2886c5ae8587092a5
stop passing line numbers into op constructor functions

Remove the line number parameter from newWHILEOP() and newFOROP()
functions.  Instead, the line number for the impending COP is set by
parser code after constructing the ops.  (In fact the parser was doing
this anyway in most cases.)  This brings newWHILEOP() and newFOROP()
in line with the other op constructors, in that they do not concern
themselves with COPs.
embed.fnc
embed.h
ext/XS-APItest/APItest.xs
op.c
perly.act
perly.tab
perly.y
proto.h