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

Comparing COMP/SCRAM/src/ActiveDoc/PreProcessedFile.pm (file contents):
Revision 1.3 by williamc, Tue Nov 23 17:20:40 1999 UTC vs.
Revision 1.4 by williamc, Mon Nov 29 17:32:48 1999 UTC

# Line 15 | Line 15
15   # file()        : return the filename corresponding to url of the document
16   # ProcessedFile() : return the filename corresponding to processed url
17   #                       of the document
18 < # line(number)  : Return the line and fileobj corresponding to number in
18 > # realline(number): Return the line and fileobj corresponding to number in
19   #                 processed file
20   # update()          : update the preprocessed file as required.
21   # store(filename)   :
# Line 36 | Line 36 | sub init {
36                                            "", $self, "", $self);
37   }
38  
39 < sub line {
39 > sub realline {
40          my $self=shift;
41          my $origline=shift;
42  
# Line 59 | Line 59 | sub line {
59          return ($line, $fileob);
60   }
61  
62 + sub line {
63 +        my $self=shift;
64 +        my $line=$self->{currentparser}->line();
65 +        return $line, $self;
66 + }
67 +
68   sub url {
69          my $self=shift;
70  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines