Mercurial > projects > dil
diff trunk/src/dil/Messages.d @ 616:506ce60760d8
Fixed some error messages.
author | Aziz K?ksal <aziz.koeksal@gmail.com> |
---|---|
date | Wed, 09 Jan 2008 17:41:22 +0100 |
parents | 6d449e777f5d |
children | 2feb88f5c867 |
line wrap: on
line diff
--- a/trunk/src/dil/Messages.d Tue Jan 08 22:15:59 2008 +0100 +++ b/trunk/src/dil/Messages.d Wed Jan 09 17:41:22 2008 +0100 @@ -113,11 +113,11 @@ // Parser messages: auto ExpectedIdAfterTypeDot = "expected identifier after '(Type).', not '{}'"; auto ExpectedModuleIdentifier = "expected module identifier, not '{}'"; - auto IllegalDeclaration = "illegal Declaration found: "; + auto IllegalDeclaration = "illegal Declaration found: {}"; auto ExpectedFunctionName = "expected function name, not '{}'"; auto ExpectedVariableName = "expected variable name, not '{}'"; auto ExpectedFunctionBody = "expected function body, not '{}'"; - auto RedundantLinkageType = "redundant linkage type: "; + auto RedundantLinkageType = "redundant linkage type: {}"; auto ExpectedPragmaIdentifier = "expected pragma identifier, not '{}'"; auto ExpectedAliasModuleName = "expected alias module name, not '{}'"; auto ExpectedAliasImportName = "expected alias name, not '{}'"; @@ -130,12 +130,12 @@ auto ExpectedInterfaceBody = "expected interface body, not '{}'"; auto ExpectedTemplateName = "expected template name, not '{}'"; auto ExpectedAnIdentifier = "expected an identifier, not '{}'"; - auto IllegalStatement = "illegal Statement found: "; + auto IllegalStatement = "illegal Statement found: {}"; auto ExpectedNonEmptyStatement = "didn't expect ';', use {{ } instead"; auto ExpectedScopeIdentifier = "expected 'exit', 'success' or 'failure', not '{}'"; auto InvalidScopeIdentifier = "'exit', 'success', 'failure' are valid scope identifiers, but not '{}'"; auto ExpectedIntegerAfterAlign = "expected an integer after align, not '{}'"; - auto IllegalAsmInstructino = "illegal AsmInstruction found: "; + auto IllegalAsmInstruction = "illegal AsmInstruction found: {}"; auto ExpectedDeclaratorIdentifier = "expected declarator identifier, not '{}'"; auto ExpectedTemplateParameters = "expected one or more template parameters, not ')'"; auto ExpectedTypeOrExpression = "expected a type or and expression, not ')'";