Parser: issue better error msgs for missing closing tokens.
[dil.git] / src / Settings.d
bloba3f2556b8b617c7e251232cbca66b7960c9b0cfd
1 /// Author: Aziz Köksal
2 /// License: GPL3
3 /// $(Maturity average)
4 module Settings;
6 import common;
8 /// Global application settings.
9 struct GlobalSettings
11 static:
12 /// Path to the data directory.
13 string dataDir = "data/";
14 /// Predefined version identifiers.
15 string[] versionIds;
16 /// Path to the language file.
17 string langFile = "lang_en.d";
18 /// Language code of loaded messages catalogue.
19 string langCode = "en";
20 /// Table of localized compiler messages.
21 string[] messages;
22 /// Array of import paths to look for modules.
23 string[] importPaths;
24 /// Array of DDoc macro file paths.
25 string[] ddocFilePaths;
26 string xmlMapFile = "xml_map.d"; /// XML map file.
27 string htmlMapFile = "html_map.d"; /// HTML map file.
28 string lexerErrorFormat = "{0}({1},{2})L: {3}"; /// Lexer error.
29 string parserErrorFormat = "{0}({1},{2})P: {3}"; /// Parser error.
30 string semanticErrorFormat = "{0}({1},{2})S: {3}"; /// Semantic error.
31 uint tabWidth = 4; /// Tabulator character width.