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

Comparing COMP/SCRAM/src/BuildSystem/Tool.pm (file contents):
Revision 1.1.2.4 by williamc, Wed Apr 19 09:16:47 2000 UTC vs.
Revision 1.1.2.5 by williamc, Thu Apr 20 11:32:26 2000 UTC

# Line 25 | Line 25
25   # dependencies()   : return a list of dependency objects
26   # store(location)   : Save object to given file
27   # restore(location) : Restore object from specified file
28 + # reset()           : Clean out all the features
29  
30   package BuildSystem::Tool;
31   require 5.004;
# Line 99 | Line 100 | sub setfeature {
100          @{$self->{features}{$name}}=@value;
101   }
102  
103 + sub reset {
104 +        my $self=shift;
105 +        undef $self->{features};
106 +        undef $self->{'features_ordered'};
107 +        undef $self->{reqobjs};
108 +        undef $self->{requireposition};
109 + }
110  
111   sub _newfeature {
112          my $self=shift;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines