Mercurial > projects > dang
diff basic/Messages.d @ 140:927ae00bd9d2
Added support for extern keyword. Being ignored atm though. Also changed ast/Module, so that you can get a list of only vars, functions or structs.
author | Anders Johnsen <skabet@gmail.com> |
---|---|
date | Sun, 20 Jul 2008 23:23:56 +0200 |
parents | 2be29b296081 |
children | 6c5a3c0bb4fb |
line wrap: on
line diff
--- a/basic/Messages.d Fri Jul 11 21:47:57 2008 +0200 +++ b/basic/Messages.d Sun Jul 20 23:23:56 2008 +0200 @@ -21,6 +21,7 @@ ExpectedCastType, InvalidDeclType, InvalidType, + UnexpectedLinkType, // - imports/module ExpectedIdAfterPackage, RenameMustBeSingleIdent, @@ -93,6 +94,7 @@ InvalidDeclType : E(Err, "Invalid declaration type"), 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"), // sema CannotFindModule : E(Err, "Cannot find module '%0'"),