ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/SCRAM/src/ActiveDoc/Switcher.pm
(Generate patch)

Comparing COMP/SCRAM/src/ActiveDoc/Switcher.pm (file contents):
Revision 1.6 by williamc, Tue Nov 9 11:24:54 1999 UTC vs.
Revision 1.7 by williamc, Wed Nov 10 16:21:11 1999 UTC

# Line 246 | Line 246 | sub _calltag {
246  
247          if ( $self->{groupchecker}->status() ||
248                  ( $self->{tagcontainer}->inquiregroup($tagroutine)) ) {
249 <          $rt=$self->{tagcontainer}->getroutine($tagroutine);
249 >          ($rt,$obj)=$self->{tagcontainer}->getroutine($tagroutine);
250            if ( $rt ne "" ) {
251 +             if ( ! defined $obj ) {
252                 &{$rt}( $self->{allw},@_);
253 <               $found=1;
253 >             }
254 >             else {
255 >               &{$rt}( $obj,@_);
256 >             }
257 >             $found=1;
258            }
259          }
260          

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines