Mercurial > projects > dil
comparison trunk/src/config.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 |
comparison
equal
deleted
inserted
replaced
519:9ebc799c7dc5 | 520:f203c5248d0b |
---|---|
1 // Relative paths are resolved from the directory of dil's executable. | 1 // Relative paths are resolved from the directory of dil's executable. |
2 | 2 |
3 // Path to the language file. | 3 // Path to the language file. |
4 auto langfile = "lang_en.d"; | 4 var langfile = "lang_en.d"; |
5 // An array of import paths to look for modules. | 5 // An array of import paths to look for modules. |
6 auto import_paths = []; | 6 var import_paths = []; |
7 /* | 7 /* |
8 Customizing error messages. | 8 Customizing error messages. |
9 1: file path to the source text. | 9 0: file path to the source text. |
10 2: line number. | 10 1: line number. |
11 3: column number. | 11 2: column number. |
12 4: error message. | 12 3: error message. |
13 */ | 13 */ |
14 auto lexer_error = "{1}({2},{3})L: {4}"; | 14 var lexer_error = "{0}({1},{2})L: {3}"; |
15 auto parser_error = "{1}({2},{3})P: {4}"; | 15 var parser_error = "{0}({1},{2})P: {3}"; |
16 auto semantic_error = "{1}({2},{3})S: {4}"; | 16 var semantic_error = "{0}({1},{2})S: {3}"; |