Mercurial > projects > dil
comparison src/dil/Messages.d @ 814:49e32b5bc161
Added isValidUnreservedIdentifier() to Lexer.
Added the msg InvalidModuleName.
author | Aziz K?ksal <aziz.koeksal@gmail.com> |
---|---|
date | Wed, 12 Mar 2008 17:01:27 +0100 |
parents | 1abffc396594 |
children | e6fb7ed87d3a |
comparison
equal
deleted
inserted
replaced
813:1abffc396594 | 814:49e32b5bc161 |
---|---|
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: | 116 // Lexer messages: |
117 auto InvalidOctalEscapeSequence = "value of octal escape sequence is greater than 0xFF: '{}'"; | 117 auto InvalidOctalEscapeSequence = "value of octal escape sequence is greater than 0xFF: '{}'"; |
118 auto InvalidModuleName = "the file name '{}' can't be used a module name; it's an invalid or reserved D identifier."; | |
118 // Parser messages: | 119 // Parser messages: |
119 auto InvalidUTF8SequenceInString = "invalid UTF-8 sequence in string literal: '{0}'"; | 120 auto InvalidUTF8SequenceInString = "invalid UTF-8 sequence in string literal: '{0}'"; |
120 auto ModuleDeclarationNotFirst = "a module declaration is only allowed as the first declaration in a file"; | 121 auto ModuleDeclarationNotFirst = "a module declaration is only allowed as the first declaration in a file"; |
121 auto StringPostfixMismatch = "string literal has mistmatching postfix character"; | 122 auto StringPostfixMismatch = "string literal has mistmatching postfix character"; |
122 auto ExpectedIdAfterTypeDot = "expected identifier after '(Type).', not '{}'"; | 123 auto ExpectedIdAfterTypeDot = "expected identifier after '(Type).', not '{}'"; |