diff trunk/src/dil/Settings.d @ 520:f203c5248d0b

Added 'compile' command. Fixes in config.d: changed 'auto' to 'var'; fixed format argument indices. dil.Lexer and dil.Parser add their errors to infoMan. Fix in enum TOK: Cent belongs to sublist of integral types.
author Aziz K?ksal <aziz.koeksal@gmail.com>
date Sat, 15 Dec 2007 22:25:18 +0100
parents 6160ab7b1816
children 8955296dd807
line wrap: on
line diff
--- a/trunk/src/dil/Settings.d	Sat Dec 15 19:00:23 2007 +0100
+++ b/trunk/src/dil/Settings.d	Sat Dec 15 22:25:18 2007 +0100
@@ -16,7 +16,7 @@
   string[] messages;
   /// Array of import paths to look for modules.
   string[] importPaths;
-  string lexerErrorFormat = "{1}({2},{3})L: {4}";
-  string parserErrorFormat = "{1}({2},{3})L: {4}";
-  string semanticErrorFormat = "{1}({2},{3})L: {4}";
+  string lexerErrorFormat = "{0}({1},{2})L: {3}";
+  string parserErrorFormat = "{0}({1},{2})P: {3}";
+  string semanticErrorFormat = "{0}({1},{2})S: {3}";
 }