diff trunk/src/dil/Messages.d @ 640:05645f5613c1

Added an error message. Improved parseTryStatement(). Fixed getShortClassName().
author Aziz K?ksal <aziz.koeksal@gmail.com>
date Mon, 14 Jan 2008 02:36:14 +0100
parents 1b1315ac27a4
children 29cc5bf3ce89
line wrap: on
line diff
--- a/trunk/src/dil/Messages.d	Mon Jan 14 01:45:44 2008 +0100
+++ b/trunk/src/dil/Messages.d	Mon Jan 14 02:36:14 2008 +0100
@@ -135,6 +135,7 @@
   auto ExpectedAliasTemplateParam = "expected name for alias template parameter, not '{}'";
   auto ExpectedNameForThisTempParam = "expected name for 'this' template parameter, not '{}'";
   auto ExpectedIdentOrInt = "expected an identifier or an integer, not '{}'";
+  auto MissingCatchOrFinally = "try statement is missing a catch or finally body.";
   // Semantic analysis:
   auto DeclConflictsWithDecl = "declaration '{}' conflicts with declaration @{}";
   auto VariableConflictsWithDecl = "variable '{}' conflicts with declaration @{}";