summaryrefslogtreecommitdiffstats
path: root/fake_packages/gen.pl
diff options
context:
space:
mode:
Diffstat (limited to 'fake_packages/gen.pl')
-rwxr-xr-xfake_packages/gen.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/fake_packages/gen.pl b/fake_packages/gen.pl
index e0f4c3b..1524646 100755
--- a/fake_packages/gen.pl
+++ b/fake_packages/gen.pl
@@ -128,7 +128,7 @@ sub parse_pm {
$name = $1;
# handle functions without spacing before opening "{" (eg: "sub set_color_fg{")
$name =~ s/{$//;
- $l{$current_package}{$name} = [] if !defined($l{$current_package}{$name});
+ $l{$current_package}{$name} = [] if !defined($l{$current_package}{$name}) && !is_blacklisted($name);
$state = 'waiting_for_param';
} elsif ($state eq 'waiting_for_param' && /=\s*\@_/) {
get_paras($name, $_);