Mercurial > projects > dil
diff src/config.d @ 806:bcb74c9b895c
Moved out files in the trunk folder to the root.
author | Aziz K?ksal <aziz.koeksal@gmail.com> |
---|---|
date | Sun, 09 Mar 2008 00:12:19 +0100 |
parents | trunk/src/config.d@f51305056196 |
children | 4063da6f3edd |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/config.d Sun Mar 09 00:12:19 2008 +0100 @@ -0,0 +1,34 @@ +/// The configuration file of dil. +/// +/// Relative paths are resolved from the directory of the executable. +module config; + +/// Predefined version identifiers. +var version_ids = ["X86", "linux", "LittleEndian"]; +// "X86_64", "Windows", "Win32", "Win64", "BigEndian" + +/// 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. +/// +/// Macro definitions in ddoc_files[n] override the ones in ddoc_files[n-1]. +var ddoc_files = ["predefined.ddoc"]; /// E.g.: ["src/mymacros.ddoc", "othermacros.ddoc"] + +var xml_map = "xml_map.d"; +var html_map = "html_map.d"; + +/// 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}"; /// ditto +var semantic_error = "{0}({1},{2})S: {3}"; /// ditto