Bugfix: LSL was mapped to VB.Net compiler ... that didn't work out so well :)

ThreadPoolClientBranch
Tedd Hansen 2008-02-02 03:17:38 +00:00
parent e06ee9fd4b
commit 5c8abed450
1 changed files with 3 additions and 3 deletions

View File

@ -99,8 +99,8 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL
} }
LanguageMapping.Add("cs", enumCompileType.cs); LanguageMapping.Add("cs", enumCompileType.cs);
LanguageMapping.Add("vb", enumCompileType.lsl); LanguageMapping.Add("vb", enumCompileType.vb);
LanguageMapping.Add("lsl", enumCompileType.vb); LanguageMapping.Add("lsl", enumCompileType.lsl);
// Allowed compilers // Allowed compilers
string allowedCompilers = m_scriptEngine.ScriptConfigSource.GetString("AllowedCompilers", "lsl;cs;vb"); string allowedCompilers = m_scriptEngine.ScriptConfigSource.GetString("AllowedCompilers", "lsl;cs;vb");
@ -158,7 +158,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL
foreach (string file in Directory.GetFiles(ScriptEnginesPath)) foreach (string file in Directory.GetFiles(ScriptEnginesPath))
{ {
m_scriptEngine.Log.Error(m_scriptEngine.ScriptEngineName, "FILE FOUND: " + file); //m_scriptEngine.Log.Error(m_scriptEngine.ScriptEngineName, "FILE FOUND: " + file);
if (file.ToLower().StartsWith(FilePrefix + "_compiled_") || if (file.ToLower().StartsWith(FilePrefix + "_compiled_") ||
file.ToLower().StartsWith(FilePrefix + "_source_")) file.ToLower().StartsWith(FilePrefix + "_source_"))