mirror of
https://github.com/netwide-assembler/nasm
synced 2026-08-26 16:23:04 -04:00
Fix "carryover" of exclude information from one file to another.
my %foo; doesn't mean %foo is initialized to empty, need my %foo = (); or my %foo = undef; or similar for that.
This commit is contained in:
parent
bb2fa762b4
commit
877ca3bc80
1 changed files with 2 additions and 1 deletions
3
mkdep.pl
3
mkdep.pl
|
|
@ -118,7 +118,8 @@ sub insert_deps($) {
|
|||
}
|
||||
close(IN);
|
||||
|
||||
my $e, %do_exclude;
|
||||
my $e;
|
||||
my %do_exclude = ();
|
||||
foreach $e (@exclude) {
|
||||
$do_exclude{$e} = 1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue