# # # patch "contrib/ext_hooks_expand.pl" # from [80d323d81b14a00ba5aeeeafb18a2474a157262b] # to [c65ba0e8c340b6696dccf045bf2238f6386c9933] # ============================================================ --- contrib/ext_hooks_expand.pl 80d323d81b14a00ba5aeeeafb18a2474a157262b +++ contrib/ext_hooks_expand.pl c65ba0e8c340b6696dccf045bf2238f6386c9933 @@ -28,14 +28,14 @@ while() { while() { chomp; last if (/address@hidden/); - if (/address@hidden(\w+)\s*\((address@hidden(,address@hidden)*)?\)\s*$/) { + if (/address@hidden(\w+)\s*\((address@hidden(\w+|\.\.\.)\}(,address@hidden(\w+|\.\.\.)\})*)?\)\s*$/) { my $name = $1; my $arglist = ""; if (defined $2) { $arglist = join(", ", map { my $x = $_; - $x =~ s/address@hidden(\w+)\}\s*$/$1/; + $x =~ s/address@hidden(\w+|\.\.\.)\}\s*$/$1/; $x; } split(/,\s*/, $2)); }