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

Comparing COMP/SCRAM/src/ActiveDoc/ActiveDoc.pm (file contents):
Revision 1.7 by williamc, Tue Nov 23 17:20:40 1999 UTC vs.
Revision 1.8 by williamc, Tue Nov 23 17:31:10 1999 UTC

# Line 97 | Line 97 | sub addurltags {
97  
98   sub url {
99          my $self=shift;
100 <        @_ ?$self->{File}=$self->getfile(shift)
101 <            : $self->{File};
100 >        # get file & preprocess
101 >        if ( @_  ) {$self->{File}=$self->getfile(shift)}
102 >        $self->{File}->url();
103   }
104  
105   sub copydocconfig {
# Line 188 | Line 189 | sub checktag {
189   sub line {
190          my $self=shift;
191          my ($line, $fileobj)=
192 <                $self->{PPfile}->line($self->{currentparser}->line());
192 >                $self->{File}->line($self->{currentparser}->line());
193          return ($line, $fileobj);
194   }
195  
196   sub tagstartline {
197          my $self=shift;
198 <        my ($line, $fileobj)=$self->{PPfile}->line(
198 >        my ($line, $fileobj)=$self->{File}->line(
199                  $self->{currentparser}->tagstartline());
200          return ($line, $fileobj);
201   }
# Line 202 | Line 203 | sub tagstartline {
203   sub file {
204          my $self=shift;
205  
206 <        $self->{PPf}->file();
206 >        $self->{File}->file();
207   }
208  
209   # --------------- Initialisation Methods ---------------------------
210  
210 sub preprocess_init {
211        my $self=shift;
212        $self->{PPfile}=PreProcessedFile->new($self->config());
213 }
214
211   sub init {
212          # Dummy Routine - override for derived classes
213   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines