diff trunk/src/dil/Module.d @ 492:9c208925a3d4

Added module ImportParser and new stuff from DMD2.008. Moved ImportParser from module Parser to its own module. Added a few methods from class Parser and simplified them. Now protection attributes are taken into consideration as well. Added class TemplateThisParameter. Adapted TypeofType so that typeof(return) can be recognized.
author Aziz K?ksal <aziz.koeksal@gmail.com>
date Thu, 06 Dec 2007 22:19:55 +0100
parents 33b566df6af4
children fa63ef408790
line wrap: on
line diff
--- a/trunk/src/dil/Module.d	Tue Dec 04 23:33:13 2007 +0100
+++ b/trunk/src/dil/Module.d	Thu Dec 06 22:19:55 2007 +0100
@@ -6,6 +6,7 @@
 import dil.SyntaxTree;
 import dil.Declarations;
 import dil.Parser;
+import dil.ImportParser;
 import dil.Lexer;
 import dil.File;
 import tango.io.FilePath;
@@ -28,7 +29,7 @@
 
   Module[] modules;
 
-  this(string filePath, bool isLight = false)
+  this(string filePath, bool isLightweight = false)
   {
     this.filePath = filePath;
     this.isLightweight = isLightweight;