summaryrefslogtreecommitdiff
path: root/minimod.pl
diff options
context:
space:
mode:
authorZefram <zefram@fysh.org>2010-10-23 15:40:58 +0100
committerFather Chrysostomos <sprout@cpan.org>2010-10-25 12:29:47 -0700
commit94bf0465170f13a4a3114b27d564dc2287d466b2 (patch)
tree4156eb4d63521dfab715d1cef1a2c94181b43c81 /minimod.pl
parenteae48c8938e50ebb341a72c2886c5ae8587092a5 (diff)
downloadperl-94bf0465170f13a4a3114b27d564dc2287d466b2.tar.gz
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.
Diffstat (limited to 'minimod.pl')
0 files changed, 0 insertions, 0 deletions