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

Comparing COMP/SCRAM/src/ActiveDoc/SimpleDoc.pm (file contents):
Revision 1.6 by sashby, Tue Feb 27 11:59:42 2007 UTC vs.
Revision 1.7 by muzaffar, Tue Nov 6 14:13:48 2007 UTC

# Line 71 | Line 71 | sub parse()
71     {
72     my $self=shift;
73     $parselabel=shift;
74 +   my $fhead=shift || "";
75 +   my $ftail=shift || "";
76     my $file=$self->filetoparse();
77  
78     if ( -f $file )
# Line 81 | Line 83 | sub parse()
83           $self->{currentparsename}=$parselabel;
84           $self->{currentparser}=$self->{parsers}{$parselabel};
85           # Parse and store the returned data in content (only for Streams style):
86 +         $self->{parsers}{$parselabel}->filehead($fhead);
87 +         $self->{parsers}{$parselabel}->filetail($ftail);
88           $self->{content} = $self->{parsers}{$parselabel}->parse($file,@_)->data();
89           delete $self->{currentparser};
90           $self->{currentparsename}="";

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines