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

Comparing COMP/SCRAM/src/BuildSystem/BuildFile.pm (file contents):
Revision 1.1.2.25 by williamc, Wed Jun 21 08:18:23 2000 UTC vs.
Revision 1.1.2.26 by williamc, Thu Jun 22 10:02:40 2000 UTC

# Line 2 | Line 2
2   #
3   # Interface
4   # ---------
5 < # new(toolbox)
5 > # new(ConfigArea)
6   # ParseBuildFile($base,$path,$file)
7   # ParseBuildFileExport(filename)
8   # BlockClassPath() : Return the class path
# Line 22 | Line 22 | sub new {
22          my $class=shift;
23          my $self={};
24          bless $self, $class;
25 <        $self->{toolbox}=shift;
25 >        $self->{area}=shift;
26 >        $self->{toolbox}=$self->{area}->toolbox();
27          $self->{Arch}=1;
28          push @{$self->{ARCHBLOCK}}, $self->{Arch};
29          return $self;
# Line 163 | Line 164 | sub ParseBuildFile {
164   sub ParseBuildFile_Export {
165          my $self=shift;
166          my $filename=shift;
167 <        my $bf=BuildSystem::BuildFile->new($self->{toolbox});
167 >        my $bf=BuildSystem::BuildFile->new($self->{area});
168          if ( defined $self->{remoteproject} ) {
169             $bf->{remoteproject}=$self->{remoteproject};
170          }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines