Mercurial > projects > dang
comparison 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 |
comparison
equal
deleted
inserted
replaced
188:b3e0729c8524 | 189:75d0544ddc45 |
---|---|
23 InvalidType, | 23 InvalidType, |
24 UnexpectedLinkType, | 24 UnexpectedLinkType, |
25 // - imports/module | 25 // - imports/module |
26 ExpectedIdAfterPackage, | 26 ExpectedIdAfterPackage, |
27 RenameMustBeSingleIdent, | 27 RenameMustBeSingleIdent, |
28 UnexpectedEOF, | |
28 | 29 |
29 | 30 |
30 // sema | 31 // sema |
31 CannotFindModule, | 32 CannotFindModule, |
32 InvalidImplicitCast, | 33 InvalidImplicitCast, |
104 ExpectedCastType : E(Err, "Expected cast type"), | 105 ExpectedCastType : E(Err, "Expected cast type"), |
105 InvalidDeclType : E(Err, "Invalid declaration type"), | 106 InvalidDeclType : E(Err, "Invalid declaration type"), |
106 InvalidType : E(Err, "Invalid type"), | 107 InvalidType : E(Err, "Invalid type"), |
107 ExpectedIdAfterPackage : E(Err, "Identifier expected following package"), | 108 ExpectedIdAfterPackage : E(Err, "Identifier expected following package"), |
108 UnexpectedLinkType : E(Err, "Invalid linkage type. Only C, C++, D, Windows, Pascal and System is allowed"), | 109 UnexpectedLinkType : E(Err, "Invalid linkage type. Only C, C++, D, Windows, Pascal and System is allowed"), |
110 UnexpectedEOF : E(Err, "Unexpected EOF after '%0'"), | |
109 | 111 |
110 // sema | 112 // sema |
111 CannotFindModule : E(Err, "Cannot find module '%0'"), | 113 CannotFindModule : E(Err, "Cannot find module '%0'"), |
112 InvalidImplicitCast : E(Err, "Cannot make implicit cast between '%0' and '%1'"), | 114 InvalidImplicitCast : E(Err, "Cannot make implicit cast between '%0' and '%1'"), |
113 UndefinedIdentifier : E(Err, "Undefined identifier '%0'"), | 115 UndefinedIdentifier : E(Err, "Undefined identifier '%0'"), |