Browse Source

Fixed to properly catch multiply defined symbols.

tags/v0.9.3
Michael Brown 19 years ago
parent
commit
d94cb57143
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/util/symcheck.pl

+ 1
- 1
src/util/symcheck.pl View File

39
     $problems->{$_}->{nonexistent}->{$symbol} = 1 foreach @requires;
39
     $problems->{$_}->{nonexistent}->{$symbol} = 1 foreach @requires;
40
   } elsif ( @provides > 1 ) {
40
   } elsif ( @provides > 1 ) {
41
     # Symbol defined in multiple objects
41
     # Symbol defined in multiple objects
42
-    $problems->{$_}->{multiples}->{$symbol} = 1 foreach @requires;
42
+    $problems->{$_}->{multiples}->{$symbol} = 1 foreach @provides;
43
   }
43
   }
44
   if ( @requires == 0 ) {
44
   if ( @requires == 0 ) {
45
     # Symbol not required
45
     # Symbol not required

Loading…
Cancel
Save