# HG changeset patch # User Aziz K?ksal # Date 1197381908 -3600 # Node ID fa63ef408790218fc06fe2296b949b8c15f8e617 # Parent 4e14cd1b24dadc106f76624d96fbc7bf90d4bc46 Added module dil.Package and semantic() to class Module. diff -r 4e14cd1b24da -r fa63ef408790 trunk/src/dil/Module.d --- a/trunk/src/dil/Module.d Tue Dec 11 14:19:30 2007 +0100 +++ b/trunk/src/dil/Module.d Tue Dec 11 15:05:08 2007 +0100 @@ -9,6 +9,7 @@ import dil.ImportParser; import dil.Lexer; import dil.File; +import dil.Scope; import tango.io.FilePath; import tango.io.FileConst; import common; @@ -69,6 +70,12 @@ } } + void semantic() + { + auto scop = new Scope(); + this.root.semantic(scop); + } + string[] getImports() { string[] result; diff -r 4e14cd1b24da -r fa63ef408790 trunk/src/dil/Package.d --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/trunk/src/dil/Package.d Tue Dec 11 15:05:08 2007 +0100 @@ -0,0 +1,11 @@ +/++ + Author: Aziz Köksal + License: GPL3 ++/ +module dil.Package; +import dil.Symbol; + +class Package : Symbol +{ + +}