Mercurial > projects > dang
diff basic/Messages.d @ 189:75d0544ddc45
Better error handling on unexpected EOF.
author | Anders Johnsen <skabet@gmail.com> |
---|---|
date | Fri, 25 Jul 2008 13:50:01 +0200 |
parents | 8ea749b7da91 |
children | 658178183018 |
line wrap: on
line diff
--- a/basic/Messages.d Fri Jul 25 12:55:38 2008 +0200 +++ b/basic/Messages.d Fri Jul 25 13:50:01 2008 +0200 @@ -25,6 +25,7 @@ // - imports/module ExpectedIdAfterPackage, RenameMustBeSingleIdent, + UnexpectedEOF, // sema @@ -106,6 +107,7 @@ InvalidType : E(Err, "Invalid type"), ExpectedIdAfterPackage : E(Err, "Identifier expected following package"), UnexpectedLinkType : E(Err, "Invalid linkage type. Only C, C++, D, Windows, Pascal and System is allowed"), + UnexpectedEOF : E(Err, "Unexpected EOF after '%0'"), // sema CannotFindModule : E(Err, "Cannot find module '%0'"),