comparison trunk/src/docgen/sourcelisting/htmlwriter.d @ 466:db7e27b5c180

Fixed parts of HTML output, some reorganizing.
author Jari-Matti M?kel? <jmjm@iki.fi>
date Wed, 31 Oct 2007 15:17:20 +0200
parents 33a4cb255fcc
children
comparison
equal deleted inserted replaced
465:e0d24e05a9ee 466:db7e27b5c180
27 auto inputStream = cast(FileInput)input; 27 auto inputStream = cast(FileInput)input;
28 auto content = new char[inputStream.length]; 28 auto content = new char[inputStream.length];
29 auto bytesRead = inputStream.read (content); 29 auto bytesRead = inputStream.read (content);
30 30
31 assert(bytesRead == inputStream.length, "Error reading source file"); 31 assert(bytesRead == inputStream.length, "Error reading source file");
32 assert(output == null);
32 33
33 writer.addListing( 34 writer.addListing(
34 moduleName, 35 moduleName,
35 xml_escape(content) 36 xml_escape(content)
36 ); 37 );