Mercurial > projects > dil
diff trunk/src/config.d @ 758:f4b9680c0e16
Revised module dil.SettingsLoader.
author | Aziz K?ksal <aziz.koeksal@gmail.com> |
---|---|
date | Thu, 14 Feb 2008 03:31:19 +0100 |
parents | 8955296dd807 |
children | 9c47f377ca0b |
line wrap: on
line diff
--- a/trunk/src/config.d Wed Feb 13 22:08:58 2008 +0100 +++ b/trunk/src/config.d Thu Feb 14 03:31:19 2008 +0100 @@ -1,18 +1,25 @@ -// Relative paths are resolved from the directory of dil's executable. +/// The configuration file of dil. +/// +/// Relative paths are resolved from the directory of the executable. +module config; -// Path to the language file. +/// Path to the language file. var langfile = "lang_en.d"; -// An array of import paths to look for modules. -var import_paths = []; // E.g.: ["src/", "import/"] -// DDoc macro file paths. -var ddoc_files = []; // E.g.: ["src/mymacros.ddoc", "othermacros.ddoc"] -/* - Customizing error messages. - 0: file path to the source text. - 1: line number. - 2: column number. - 3: error message. -*/ + +/// An array of import paths to look for modules. +var import_paths = []; /// E.g.: ["src/", "import/"] + +/// DDoc macro file paths. +var ddoc_files = []; /// E.g.: ["src/mymacros.ddoc", "othermacros.ddoc"] + +/// Customizable formats for error messages. +/// +/// <ul> +/// <li>0: file path to the source text.</li> +/// <li>1: line number.</li> +/// <li>2: column number.</li> +/// <li>3: error message.</li> +/// </ul> var lexer_error = "{0}({1},{2})L: {3}"; -var parser_error = "{0}({1},{2})P: {3}"; -var semantic_error = "{0}({1},{2})S: {3}"; +var parser_error = "{0}({1},{2})P: {3}"; /// ditto +var semantic_error = "{0}({1},{2})S: {3}"; /// ditto