diff dmd/module.h @ 1103:b30fe7e1dbb9

- Updated to DMD frontend 1.041. - Removed dmd/inifile.c , it's not under a free license, replaced with libconfig based config file.
author Tomas Lindquist Olsen <tomas.l.olsen gmail.com>
date Thu, 12 Mar 2009 20:37:27 +0100
parents 12ea38902e83
children 1860414bf3b7
line wrap: on
line diff
--- a/dmd/module.h	Thu Mar 12 14:08:57 2009 +0100
+++ b/dmd/module.h	Thu Mar 12 20:37:27 2009 +0100
@@ -80,6 +80,9 @@
     int strictlyneedmoduleinfo;
 #endif
 
+    int selfimports;		// 0: don't know, 1: does not, 2: does
+    int selfImports();		// returns !=0 if module imports itself
+
     int insearch;
     Identifier *searchCacheIdent;
     Dsymbol *searchCacheSymbol;	// cached value of search
@@ -173,7 +176,7 @@
     // LDC
     llvm::Module* genLLVMModule(int multiobj);
     void buildTargetFiles();
-    File* buildFilePath(char* forcename, char* path, char* ext);
+    File* buildFilePath(const char* forcename, const char* path, const char* ext);
     Module *isModule() { return this; }
     
     bool llvmForceLogging;