view trunk/src/dil/Settings.d @ 513:6160ab7b1816

Refactored code related to settings.
author Aziz K?ksal <aziz.koeksal@gmail.com>
date Fri, 14 Dec 2007 19:08:21 +0100
parents 3bb94ba21490
children f203c5248d0b
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;
  string lexerErrorFormat = "{1}({2},{3})L: {4}";
  string parserErrorFormat = "{1}({2},{3})L: {4}";
  string semanticErrorFormat = "{1}({2},{3})L: {4}";
}