Mercurial > projects > dang
comparison basic/Messages.d @ 106:89db676fbacb
Now able of understanding strings.
author | Anders Johnsen <skabet@gmail.com> |
---|---|
date | Thu, 22 May 2008 12:09:11 +0200 |
parents | 5f258eaf9517 |
children | d1f68bfb58ae |
comparison
equal
deleted
inserted
replaced
105:f1282c5fe8e3 | 106:89db676fbacb |
---|---|
26 RenameMustBeSingleIdent, | 26 RenameMustBeSingleIdent, |
27 | 27 |
28 | 28 |
29 // Imports | 29 // Imports |
30 CannotFindModule, | 30 CannotFindModule, |
31 | |
32 // Strings | |
33 InvalidStrPrefix, | |
34 InvalidStrEscape, | |
35 InvalidUtf8Hex, | |
36 InvalidHexStrChar, | |
37 StringShortEscape, | |
38 StringHexInvalid, | |
31 } | 39 } |
32 | 40 |
33 enum MessageType | 41 enum MessageType |
34 { | 42 { |
35 Warning, | 43 Warning, |
65 ExpectedExp : E(Err, "Expected expression"), | 73 ExpectedExp : E(Err, "Expected expression"), |
66 ExpectedCastType : E(Err, "Expected cast type"), | 74 ExpectedCastType : E(Err, "Expected cast type"), |
67 InvalidDeclType : E(Err, "Invalid declaration type"), | 75 InvalidDeclType : E(Err, "Invalid declaration type"), |
68 InvalidType : E(Err, "Invalid type"), | 76 InvalidType : E(Err, "Invalid type"), |
69 ExpectedIdAfterPackage : E(Err, "Identifier expected following package"), | 77 ExpectedIdAfterPackage : E(Err, "Identifier expected following package"), |
70 CannotFindModule : E(Err, "Cannot find module '%0'") | 78 CannotFindModule : E(Err, "Cannot find module '%0'"), |
79 InvalidStrPrefix : E(Err, "Invalid string literal prefix"), | |
80 InvalidStrEscape : E(Err, "Invalid escape sequence"), | |
81 InvalidUtf8Hex : E(Err, "Invalid Utf8 hex char"), | |
82 InvalidHexStrChar : E(Err, "Invalid character in hex string"), | |
83 StringShortEscape : E(Err, "String literal is to short for escape sequence"), | |
84 StringHexInvalid : E(Err, "Hex escape sequence have invalid digit at position %0 of %1") | |
71 ]; | 85 ]; |
72 } | 86 } |
73 | 87 |