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.9 by williamc, Mon Aug 28 07:43:21 2000 UTC vs.
Revision 1.10 by sashby, Fri Oct 11 14:23:24 2002 UTC

# Line 283 | Line 283 | sub Include_Start {
283            print {$self->{fileout}} "\n";# always start an include on a new line
284            my $linecount=0;
285            while ( <$fh> ) {
286 <            $linecount++;
286 >          # Enable comments in files. Skip line if it
287 >          # starts with a hash:
288 >          next if /^#/;
289 >          $linecount++;
290              print {$self->{fileout}} $_;
291            }
292            print {$self->{fileout}} "\n";# always end include with new line

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines