diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2007-09-26 16:57:34 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2007-09-26 16:57:34 +0000 |
commit | 95b611b0bba585b54c6e7623440a11b1268968e2 (patch) | |
tree | 7c46f5f18ff1bc0b482bfd6d2bd53d6c0bdbb2cb /lib/ExtUtils | |
parent | fbf638cb2f3422c34f7602c75927b8364ccf21ee (diff) | |
download | perl-95b611b0bba585b54c6e7623440a11b1268968e2.tar.gz |
API spelling patch, by Jerry D. Hedden
p4raw-id: //depot/perl@31983
Diffstat (limited to 'lib/ExtUtils')
-rw-r--r-- | lib/ExtUtils/ParseXS.pm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/ExtUtils/ParseXS.pm b/lib/ExtUtils/ParseXS.pm index 7f3bbd0b6f..fd762f8cc7 100644 --- a/lib/ExtUtils/ParseXS.pm +++ b/lib/ExtUtils/ParseXS.pm @@ -360,7 +360,7 @@ EOF ." followed by a statement on column one?)") if $line[0] =~ /^\s/; - my ($class, $externC, $static, $elipsis, $wantRETVAL, $RETVAL_no_return); + my ($class, $externC, $static, $ellipsis, $wantRETVAL, $RETVAL_no_return); my (@fake_INPUT_pre); # For length(s) generated variables my (@fake_INPUT); @@ -513,7 +513,7 @@ EOF my $report_args = ''; foreach my $i (0 .. $#args) { if ($args[$i] =~ s/\.\.\.//) { - $elipsis = 1; + $ellipsis = 1; if ($args[$i] eq '' && $i == $#args) { $report_args .= ", ..."; pop(@args); @@ -577,7 +577,7 @@ EOF print Q(<<"EOF") if $INTERFACE ; # dXSFUNCTION($ret_type); EOF - if ($elipsis) { + if ($ellipsis) { $cond = ($min_args ? qq(items < $min_args) : 0); } elsif ($min_args == $num_args) { $cond = qq(items != $min_args); @@ -842,7 +842,7 @@ EOF $proto_arg[$min_args] .= ";" ; } push @proto_arg, "$s\@" - if $elipsis ; + if $ellipsis ; $proto = join ("", grep defined, @proto_arg); } |