Mercurial > projects > dang
diff basic/Messages.d @ 114:3a0cd42de9cc
Removed misc/Error.d and is now using the error system all way through.
author | Anders Johnsen <skabet@gmail.com> |
---|---|
date | Sun, 25 May 2008 16:40:38 +0200 |
parents | c658172ca8a0 |
children | 2be29b296081 |
line wrap: on
line diff
--- a/basic/Messages.d Sun May 25 15:48:13 2008 +0200 +++ b/basic/Messages.d Sun May 25 16:40:38 2008 +0200 @@ -26,8 +26,12 @@ RenameMustBeSingleIdent, - // Imports + // sema CannotFindModule, + InvalidImplicitCast, + UndefinedIdentifier, + UndefinedType, + MissingMember, // Strings InvalidStrPrefix, @@ -88,8 +92,12 @@ // sema CannotFindModule : E(Err, "Cannot find module '%0'"), + InvalidImplicitCast : E(Err, "Cannot make implicit cast between %0 and %1"), + UndefinedIdentifier : E(Err, "Undefined identifier '%0'"), + UndefinedType : E(Err, "Undefined type '%0'"), + MissingMember : E(Err, "%0 %1 has no member %2"), - // + // literals InvalidStrPrefix : E(Err, "Invalid string literal prefix"), InvalidStrEscape : E(Err, "Invalid escape sequence"), InvalidUtf8Hex : E(Err, "Invalid Utf8 hex char"),