make_specfiles: Properly replace commented out exports.
This commit is contained in:
parent
693fb6d56c
commit
83a8c45dc4
|
@ -198,7 +198,7 @@ sub update_spec_file($)
|
||||||
|
|
||||||
my %parent = %{$funcs{$func}};
|
my %parent = %{$funcs{$func}};
|
||||||
goto done if $parent{spec} eq $descr{spec}; # the definition is in this spec file
|
goto done if $parent{spec} eq $descr{spec}; # the definition is in this spec file
|
||||||
if ($descr{callconv} ne "stub" && $descr{target} !~ /\./)
|
if ($descr{callconv} ne "stub" && $descr{target} !~ /\./ && !$commented_out)
|
||||||
{
|
{
|
||||||
printf "%s:%u: note: %s already defined in %s\n", $file, $., $func, $parent{spec} if $show_duplicates;
|
printf "%s:%u: note: %s already defined in %s\n", $file, $., $func, $parent{spec} if $show_duplicates;
|
||||||
goto done;
|
goto done;
|
||||||
|
|
Loading…
Reference in New Issue