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.6 by williamc, Mon Feb 21 14:30:08 2000 UTC vs.
Revision 1.7 by williamc, Mon Feb 21 17:36:13 2000 UTC

# Line 49 | Line 49 | sub realline {
49            if ( $line >= ($inc->lines()+$startline+2) ) {
50                                          # take out the 2 carriage returns added
51              $line=$line-($inc->lines()+$startline-$inc->endline())-2;
52 #+($inc->endline()-$startline);
52                           # n lines in original map to m lines in expanded
54        print "Included file lines = ".$inc->lines()." +2 \n";
55        print "Start tag= $startline , endtag=".$inc->endline()."\n";
53            }
54            else { # must be in the include file
55 <        print "Passing $line-$startline \n";
56 <            ($line, $fileob)=$self->{includes}[$i]->
60 <                                        realline($line-$startline);
55 >            ($line, $fileob)=$self->{includes}[$i]->realline($line-$startline);
56 >            last;
57            }
58          }
59          

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines