"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/dmd/dmodule.d" between
dmd-2.095.0.tar.gz and dmd-2.095.1.tar.gz

About: DMD (Digital Mars D) is the D reference compiler. D is an object-oriented, imperative, multi-paradigm system programming language.

dmodule.d  (dmd-2.095.0):dmodule.d  (dmd-2.095.1)
skipping to change at line 756 skipping to change at line 756
* See_Also: loadSourceBuffer * See_Also: loadSourceBuffer
*/ */
bool read(const ref Loc loc) bool read(const ref Loc loc)
{ {
if (srcBuffer) if (srcBuffer)
return true; // already read return true; // already read
//printf("Module::read('%s') file '%s'\n", toChars(), srcfile.toChars()) ; //printf("Module::read('%s') file '%s'\n", toChars(), srcfile.toChars()) ;
auto readResult = File.read(srcfile.toChars()); auto readResult = File.read(srcfile.toChars());
if (global.params.makeDeps && global.params.oneobj) if (global.params.emitMakeDeps)
{ {
OutBuffer* ob = global.params.makeDeps; global.params.makeDeps.push(srcfile.toChars());
ob.writestringln(" \\");
ob.writestring(" ");
ob.writestring(toPosixPath(srcfile.toString()));
} }
return loadSourceBuffer(loc, readResult); return loadSourceBuffer(loc, readResult);
} }
/// syntactic parse /// syntactic parse
Module parse() Module parse()
{ {
return parseModule!ASTCodegen(); return parseModule!ASTCodegen();
} }
 End of changes. 2 change blocks. 
5 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)