Mercurial > projects > dil
diff trunk/src/dil/parser/ImportParser.d @ 755:90668b83ae5e
Introduced new module dil.SourceText and class SourceText.
author | Aziz K?ksal <aziz.koeksal@gmail.com> |
---|---|
date | Wed, 13 Feb 2008 20:21:25 +0100 |
parents | b11d46260909 |
children | c24be8d4f6ab |
line wrap: on
line diff
--- a/trunk/src/dil/parser/ImportParser.d Wed Feb 13 17:10:55 2008 +0100 +++ b/trunk/src/dil/parser/ImportParser.d Wed Feb 13 20:21:25 2008 +0100 @@ -8,6 +8,7 @@ import dil.ast.Node; import dil.ast.Declarations; import dil.ast.Statements; +import dil.SourceText; import dil.Enums; import common; @@ -15,9 +16,9 @@ class ImportParser : Parser { - this(char[] srcText, string fileName) + this(SourceText srcText) { - super(srcText, fileName); + super(srcText); } override CompoundDeclaration start()