[svn:parrot] r38829 - trunk/lib/Parrot
jkeenan at svn.parrot.org
jkeenan at svn.parrot.org
Sat May 16 14:16:20 UTC 2009
Author: jkeenan
Date: Sat May 16 14:16:19 2009
New Revision: 38829
URL: https://trac.parrot.org/parrot/changeset/38829
Log:
At present time src/ops/ops.num is the only reasonable argument for renum_op_map_file(). So eliminate one internal ternary op so we don't have to write a test for it.
Modified:
trunk/lib/Parrot/OpsRenumber.pm
Modified: trunk/lib/Parrot/OpsRenumber.pm
==============================================================================
--- trunk/lib/Parrot/OpsRenumber.pm Sat May 16 13:53:56 2009 (r38828)
+++ trunk/lib/Parrot/OpsRenumber.pm Sat May 16 14:16:19 2009 (r38829)
@@ -72,7 +72,7 @@
sub renum_op_map_file {
my $self = shift;
- my $file = scalar(@_) ? shift : $self->{num_file};
+ my $file = $self->{num_file};
# We open up the currently existing ops.num and file and read it
# line-by-line. That file is basically divided into two halves
More information about the parrot-commits
mailing list