Mercurial > projects > dil
annotate trunk/src/dil/Settings.d @ 721:8955296dd807
Added ddoc_files option to config.d
author | Aziz K?ksal <aziz.koeksal@gmail.com> |
---|---|
date | Fri, 01 Feb 2008 16:40:35 +0100 |
parents | f203c5248d0b |
children | 9c47f377ca0b |
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; |
520
f203c5248d0b
Added 'compile' command.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
513
diff
changeset
|
21 string lexerErrorFormat = "{0}({1},{2})L: {3}"; |
f203c5248d0b
Added 'compile' command.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
513
diff
changeset
|
22 string parserErrorFormat = "{0}({1},{2})P: {3}"; |
f203c5248d0b
Added 'compile' command.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
513
diff
changeset
|
23 string semanticErrorFormat = "{0}({1},{2})S: {3}"; |
309 | 24 } |