view 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
line wrap: on
line source

/++
  Author: Aziz Köksal
  License: GPL3
+/
module dil.Settings;
import common;

struct GlobalSettings
{
static:
  /// Path to the language file.
  string langFile = "lang_en.d";
  /// Language code of loaded messages catalogue.
  string langCode = "en";
  /// Table of localized compiler messages.
  string[] messages;
  /// Array of import paths to look for modules.
  string[] importPaths;
  /// Array of DDoc macro file paths.
  string[] ddocFilePaths;
  string xmlMapFile = "xml_map.d";
  string htmlMapFile = "html_map.d";
  string lexerErrorFormat = "{0}({1},{2})L: {3}";
  string parserErrorFormat = "{0}({1},{2})P: {3}";
  string semanticErrorFormat = "{0}({1},{2})S: {3}";
}