diff basic/Messages.d @ 100:5f258eaf9517 new_gen

Loading modules in. Just need to add them to the scope of the "main" Module now.
author Anders Johnsen <skabet@gmail.com>
date Tue, 06 May 2008 22:49:43 +0200
parents 857f0d530789
children 89db676fbacb 189c049cbfcc
line wrap: on
line diff
--- a/basic/Messages.d	Tue May 06 21:59:22 2008 +0200
+++ b/basic/Messages.d	Tue May 06 22:49:43 2008 +0200
@@ -24,6 +24,10 @@
     //   - imports/module
     ExpectedIdAfterPackage,
     RenameMustBeSingleIdent,
+
+
+    // Imports
+    CannotFindModule,
 }
 
 enum MessageType
@@ -62,7 +66,8 @@
         ExpectedCastType    : E(Err, "Expected cast type"),
         InvalidDeclType     : E(Err, "Invalid declaration type"),
         InvalidType         : E(Err, "Invalid type"),
-        ExpectedIdAfterPackage : E(Err, "Identifier expected following package")
+        ExpectedIdAfterPackage : E(Err, "Identifier expected following package"),
+        CannotFindModule    : E(Err, "Cannot find module '%0'")
     ];
 }