comparison src/dil/Messages.d @ 810:525ee3f848d9

Added modules cmd.Compile and dil.ModuleManager. Added options -I, -release and -unittest to the compile command. Tidied main.d up a bit. Renamed start() methods of SemanticPass1 and 2 to run(). Moved function findModuleFilePath() to class ModuleManager. Added msg CouldntLoadModule. Corrected two others. Added member semanticPass to class Module. Implemented visit(ImportDeclaration) in SemanticPass1.
author Aziz K?ksal <aziz.koeksal@gmail.com>
date Tue, 11 Mar 2008 02:48:01 +0100
parents bcb74c9b895c
children 1abffc396594
comparison
equal deleted inserted replaced
809:7e84472f4e91 810:525ee3f848d9
152 auto ExpectedAliasTemplateParam = "expected name for alias template parameter, not '{}'"; 152 auto ExpectedAliasTemplateParam = "expected name for alias template parameter, not '{}'";
153 auto ExpectedNameForThisTempParam = "expected name for 'this' template parameter, not '{}'"; 153 auto ExpectedNameForThisTempParam = "expected name for 'this' template parameter, not '{}'";
154 auto ExpectedIdentOrInt = "expected an identifier or an integer, not '{}'"; 154 auto ExpectedIdentOrInt = "expected an identifier or an integer, not '{}'";
155 auto MissingCatchOrFinally = "try statement is missing a catch or finally body."; 155 auto MissingCatchOrFinally = "try statement is missing a catch or finally body.";
156 // Semantic analysis: 156 // Semantic analysis:
157 auto CouldntLoadModule = "couldn't load module '{}'";
157 auto UndefinedIdentifier = "undefined identifier '{}'"; 158 auto UndefinedIdentifier = "undefined identifier '{}'";
158 auto DeclConflictsWithDecl = "declaration '{}' conflicts with declaration @{}"; 159 auto DeclConflictsWithDecl = "declaration '{}' conflicts with declaration @{}";
159 auto VariableConflictsWithDecl = "variable '{}' conflicts with declaration @{}"; 160 auto VariableConflictsWithDecl = "variable '{}' conflicts with declaration @{}";
160 auto InterfaceCantHaveVariables = "an interface can't have member variables"; 161 auto InterfaceCantHaveVariables = "an interface can't have member variables";
161 auto MixinArgumentMustBeString = "the mixin argument must evaluate to a string"; 162 auto MixinArgumentMustBeString = "the mixin argument must evaluate to a string";
162 auto DebugSpecModuleLevel = "debug={} must be a module level"; 163 auto DebugSpecModuleLevel = "debug={} must be at module level";
163 auto VersionSpecModuleLevel = "version={} must be a module level"; 164 auto VersionSpecModuleLevel = "version={} must be at module level";
164 } 165 }