Mercurial > projects > dil
comparison trunk/src/config.d @ 513:6160ab7b1816
Refactored code related to settings.
author | Aziz K?ksal <aziz.koeksal@gmail.com> |
---|---|
date | Fri, 14 Dec 2007 19:08:21 +0100 |
parents | dda55fae37de |
children | f203c5248d0b |
comparison
equal
deleted
inserted
replaced
512:112c17300069 | 513:6160ab7b1816 |
---|---|
1 option langfile = "lang_en.d"; | 1 // Relative paths are resolved from the directory of dil's executable. |
2 option import_paths = []; | 2 |
3 // Path to the language file. | |
4 auto langfile = "lang_en.d"; | |
5 // An array of import paths to look for modules. | |
6 auto import_paths = []; | |
7 /* | |
8 Customizing error messages. | |
9 1: file path to the source text. | |
10 2: line number. | |
11 3: column number. | |
12 4: error message. | |
13 */ | |
14 auto lexer_error = "{1}({2},{3})L: {4}"; | |
15 auto parser_error = "{1}({2},{3})P: {4}"; | |
16 auto semantic_error = "{1}({2},{3})S: {4}"; |