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

Comparing COMP/SCRAM/src/BuildFile.pm (file contents):
Revision 1.22 by williamc, Wed Apr 14 13:18:41 1999 UTC vs.
Revision 1.23 by williamc, Thu Jan 20 18:26:05 2000 UTC

# Line 4 | Line 4 | require Exporter;
4   @ISA    = qw(Exporter);
5   @EXPORT = qw(CheckBuildFile ParseBuildFile @BlockClassA $DefaultBuildFile);
6  
7 BEGIN {
8 use ToolBox;
9 $buildfile="BuildFile";
10 $toolbox=ToolBox->new();
11 $Arch=1;
12 push @ARCHBLOCK, $Arch;
13 }
7  
8   #Parse the BuildFile
9   sub ParseBuildFile {
# Line 39 | Line 32 | sub ParseBuildFile {
32                  'lib_StartTag' => \&lib_start,
33                  'lib_EndTag' => 'none'
34          };
35 <        use Utilities::Switcher;
35 >        use ActiveDoc::Switcher;
36          $switch=Switcher->new($SupportedTags, $fullfilename);
37          $switch->{Strict_no_cr}='no';
38          #open a temporary gnumakefile to store output.
# Line 58 | Line 51 | sub ParseBuildFile {
51  
52   sub ParseBuildFile_Export {
53          my $filename=shift;
54 <        use Tool;
54 >        #use Tool;
55          # This hash defines which Document Elements we can use
56          my $SupportedTags={
57                  'Use' => \&OutToMakefile,
# Line 72 | Line 65 | sub ParseBuildFile_Export {
65                  'lib_StartTag' => \&lib_start_export,
66                  'lib' => 'none'
67          };
68 <        use Utilities::Switcher;
68 >        use ActiveDoc::Switcher;
69          $switchex=Switcher->new($SupportedTags, $filename);
70          $switchex->{Strict_no_cr}='no';
71          push @switchstack, $switchex;
# Line 300 | Line 293 | sub setBlockClassPath {
293  
294   sub export_start {
295   #Set up a toolfile object
296 <        $exporttool=Tool->new();
296 > #       $exporttool=Tool->new();
297   }
298  
299   sub export_end {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines