Mercurial > projects > dil
annotate trunk/src/dil/Settings.d @ 759:9c47f377ca0b
Revised module cmd.Generate.
Added class TagMapLoader.
Fixed StringExpression.getString() and related code in the Parser.
Added options 'xml_map' and 'html_map' to config.d
author | Aziz K?ksal <aziz.koeksal@gmail.com> |
---|---|
date | Fri, 15 Feb 2008 02:07:53 +0100 |
parents | 8955296dd807 |
children | 78be32e3e157 |
rev | line source |
---|---|
309 | 1 /++ |
2 Author: Aziz Köksal | |
3 License: GPL3 | |
4 +/ | |
326 | 5 module dil.Settings; |
391
33b566df6af4
Migrated project to Tango.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
368
diff
changeset
|
6 import common; |
309 | 7 |
8 struct GlobalSettings | |
9 { | |
10 static: | |
513
6160ab7b1816
Refactored code related to settings.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
505
diff
changeset
|
11 /// Path to the language file. |
6160ab7b1816
Refactored code related to settings.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
505
diff
changeset
|
12 string langFile = "lang_en.d"; |
6160ab7b1816
Refactored code related to settings.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
505
diff
changeset
|
13 /// Language code of loaded messages catalogue. |
6160ab7b1816
Refactored code related to settings.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
505
diff
changeset
|
14 string langCode = "en"; |
6160ab7b1816
Refactored code related to settings.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
505
diff
changeset
|
15 /// Table of localized compiler messages. |
6160ab7b1816
Refactored code related to settings.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
505
diff
changeset
|
16 string[] messages; |
6160ab7b1816
Refactored code related to settings.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
505
diff
changeset
|
17 /// Array of import paths to look for modules. |
6160ab7b1816
Refactored code related to settings.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
505
diff
changeset
|
18 string[] importPaths; |
721
8955296dd807
Added ddoc_files option to config.d
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
520
diff
changeset
|
19 /// Array of DDoc macro file paths. |
8955296dd807
Added ddoc_files option to config.d
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
520
diff
changeset
|
20 string[] ddocFilePaths; |
759
9c47f377ca0b
Revised module cmd.Generate.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
721
diff
changeset
|
21 string xmlMapFile = "xml_map.d"; |
9c47f377ca0b
Revised module cmd.Generate.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
721
diff
changeset
|
22 string htmlMapFile = "html_map.d"; |
520
f203c5248d0b
Added 'compile' command.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
513
diff
changeset
|
23 string lexerErrorFormat = "{0}({1},{2})L: {3}"; |
f203c5248d0b
Added 'compile' command.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
513
diff
changeset
|
24 string parserErrorFormat = "{0}({1},{2})P: {3}"; |
f203c5248d0b
Added 'compile' command.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
513
diff
changeset
|
25 string semanticErrorFormat = "{0}({1},{2})S: {3}"; |
309 | 26 } |