Mercurial > projects > dil
comparison trunk/src/dil/Module.d @ 515:7cb97346bc6f
Using class Module in SettingsLoader.
author | Aziz K?ksal <aziz.koeksal@gmail.com> |
---|---|
date | Fri, 14 Dec 2007 20:12:13 +0100 |
parents | dd3ce87b3569 |
children | 433d51c18524 |
comparison
equal
deleted
inserted
replaced
514:6ddff941862a | 515:7cb97346bc6f |
---|---|
74 { | 74 { |
75 auto scop = new Scope(); | 75 auto scop = new Scope(); |
76 this.root.semantic(scop); | 76 this.root.semantic(scop); |
77 } | 77 } |
78 | 78 |
79 bool hasErrors() | |
80 { | |
81 return parser.errors.length || parser.lx.errors.length; | |
82 } | |
83 | |
79 string[] getImports() | 84 string[] getImports() |
80 { | 85 { |
81 string[] result; | 86 string[] result; |
82 foreach (import_; imports) | 87 foreach (import_; imports) |
83 result ~= import_.getModuleFQNs(dirSep); | 88 result ~= import_.getModuleFQNs(dirSep); |