Add final commas to lists as suggested by Philip Newton.
authorJarkko Hietaniemi <jhi@iki.fi>
Mon, 11 Jun 2001 12:30:06 +0000 (12:30 +0000)
committerJarkko Hietaniemi <jhi@iki.fi>
Mon, 11 Jun 2001 12:30:06 +0000 (12:30 +0000)
p4raw-id: //depot/perl@10513

lib/ExtUtils/Constant.pm
t/lib/extutils.t

index 25feacc5ff6798c97675d6bc935f5857a9e92271..aeaaf9f40bacce994537fb97c5e95767e4d63464 100644 (file)
@@ -104,7 +104,7 @@ $VERSION = '0.04';
                 PVN => 'PUSHp(pv, iv)',
                YES => 'PUSHs(&PL_sv_yes)',
                NO => 'PUSHs(&PL_sv_no)',
-               UNDEF => ''     # implicit undef
+               UNDEF => '',    # implicit undef
 );
 
 %XS_TypeSet = (
@@ -113,7 +113,9 @@ $VERSION = '0.04';
                 NV => '*nv_return =',
                 PV => '*pv_return =',
                 PVN => ['*pv_return =', '*iv_return = (IV)'],
-               YES => undef, NO => undef, UNDEF => undef
+               YES   => undef,
+               NO    => undef,
+               UNDEF => undef,
 );
 
 
index 48c2aa30e424b89e344ed218f8c0ec4cf8840152..6cb14141f4adb5bfaca68f3a90a402b3dbe4b22a 100644 (file)
@@ -54,7 +54,7 @@ my @names = ("FIVE", {name=>"OK6", type=>"PV",},
              {name => "ANSWER", default=>["UV", 42]}, "NOTDEF",
              {name => "Yes", type=>"YES"},
              {name => "No", type=>"NO"},
-             {name => "Undef", type=>"UNDEF"}
+             {name => "Undef", type=>"UNDEF"},
 );
 
 my @names_only = map {(ref $_) ? $_->{name} : $_} @names;