mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 10:46:00 +08:00
Bugfixes in LSL compiler. Changed most datatypes to int (instead of UInt32) and double (instead of float).
This commit is contained in:
@@ -40,6 +40,13 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL
|
||||
|
||||
Common.SendToDebug("Compiling");
|
||||
|
||||
// DEBUG - write source to disk
|
||||
try
|
||||
{
|
||||
File.WriteAllText(Path.Combine("ScriptEngines", "debug_" + Path.GetFileNameWithoutExtension(LSOFileName) + ".cs"), CS_Code);
|
||||
}
|
||||
catch { }
|
||||
|
||||
// Do actual compile
|
||||
System.CodeDom.Compiler.CompilerParameters parameters = new CompilerParameters();
|
||||
parameters.IncludeDebugInformation = true;
|
||||
|
||||
Reference in New Issue
Block a user