comparison trunk/src/dil/SettingsLoader.d @ 731:ca7607226caa

Added new module cmd.DDoc. Added command 'ddoc'. Fixed scanArguments() in dil.doc.Macro.
author Aziz K?ksal <aziz.koeksal@gmail.com>
date Sun, 03 Feb 2008 19:56:47 +0100
parents 8955296dd807
children f4b9680c0e16
comparison
equal deleted inserted replaced
730:5cb236c6fe52 731:ca7607226caa
55 case "ddoc_files": 55 case "ddoc_files":
56 if (auto array = e.Is!(ArrayInitExpression)) 56 if (auto array = e.Is!(ArrayInitExpression))
57 { 57 {
58 foreach (value; array.values) 58 foreach (value; array.values)
59 if (auto str = value.Is!(StringExpression)) 59 if (auto str = value.Is!(StringExpression))
60 GlobalSettings.ddocFilePaths ~= str.getString(); 60 GlobalSettings.ddocFilePaths ~= resolvePath(execPath, str.getString());
61 } 61 }
62 else 62 else
63 throw new Exception("import_paths variable is set to "~e.classinfo.name~" instead of an ArrayInitializer."); 63 throw new Exception("import_paths variable is set to "~e.classinfo.name~" instead of an ArrayInitializer.");
64 break; 64 break;
65 case "lexer_error": 65 case "lexer_error":