Mercurial > projects > dil
comparison trunk/src/dil/Messages.d @ 803:cb8040538772
Reporting error for invalid octal escape sequences.
author | Aziz K?ksal <aziz.koeksal@gmail.com> |
---|---|
date | Fri, 07 Mar 2008 11:46:56 +0100 |
parents | c24be8d4f6ab |
children | 9e6c6bb73e5f |
comparison
equal
deleted
inserted
replaced
802:f51305056196 | 803:cb8040538772 |
---|---|
111 auto UTF16FileMustBeDivisibleBy2 = "the byte length of a UTF-16 source file must be divisible by 2."; | 111 auto UTF16FileMustBeDivisibleBy2 = "the byte length of a UTF-16 source file must be divisible by 2."; |
112 auto UTF32FileMustBeDivisibleBy4 = "the byte length of a UTF-32 source file must be divisible by 4."; | 112 auto UTF32FileMustBeDivisibleBy4 = "the byte length of a UTF-32 source file must be divisible by 4."; |
113 // DDoc macros: | 113 // DDoc macros: |
114 auto UndefinedDDocMacro = "DDoc macro '{}' is undefined"; | 114 auto UndefinedDDocMacro = "DDoc macro '{}' is undefined"; |
115 auto UnterminatedDDocMacro = "DDoc macro '{}' has no closing ')'"; | 115 auto UnterminatedDDocMacro = "DDoc macro '{}' has no closing ')'"; |
116 // Lexer messages: | |
117 auto InvalidOctalEscapeSequence = "value of octal escape sequence is greater than 0xFF: '{}'"; | |
116 // Parser messages: | 118 // Parser messages: |
117 auto InvalidUTF8SequenceInString = "invalid UTF-8 sequence in string literal: '{0}'"; | 119 auto InvalidUTF8SequenceInString = "invalid UTF-8 sequence in string literal: '{0}'"; |
118 auto ModuleDeclarationNotFirst = "a module declaration is only allowed as the first declaration in a file"; | 120 auto ModuleDeclarationNotFirst = "a module declaration is only allowed as the first declaration in a file"; |
119 auto StringPostfixMismatch = "string literal has mistmatching postfix character"; | 121 auto StringPostfixMismatch = "string literal has mistmatching postfix character"; |
120 auto ExpectedIdAfterTypeDot = "expected identifier after '(Type).', not '{}'"; | 122 auto ExpectedIdAfterTypeDot = "expected identifier after '(Type).', not '{}'"; |