fix line continuations in argument lists (from Helmut Jarausch)
authorGurusamy Sarathy <gsar@cpan.org>
Sat, 22 Jan 2000 12:42:40 +0000 (12:42 +0000)
committerGurusamy Sarathy <gsar@cpan.org>
Sat, 22 Jan 2000 12:42:40 +0000 (12:42 +0000)
p4raw-id: //depot/perl@4843

lib/ExtUtils/xsubpp

index ff9b452..4fedd3b 100755 (executable)
@@ -995,7 +995,9 @@ while (fetch_para()) {
     %XsubAliases = %XsubAliasValues = %Interfaces = ();
     $DoSetMagic = 1;
 
-    @args = split(/\s*,\s*/, $orig_args);
+    my $temp_args = $orig_args;
+    $temp_args =~ s/\\\s*//g;
+    @args = split(/\s*,\s*/, $temp_args);
     if (defined($class)) {
        my $arg0 = ((defined($static) or $func_name eq 'new')
                    ? "CLASS" : "THIS");