aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL2CSConverter.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL2CSConverter.cs')
-rw-r--r--OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL2CSConverter.cs40
1 files changed, 11 insertions, 29 deletions
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL2CSConverter.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL2CSConverter.cs
index b35d562..314f3f0 100644
--- a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL2CSConverter.cs
+++ b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL2CSConverter.cs
@@ -289,36 +289,18 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL
289 289
290 // Add namespace, class name and inheritance 290 // Add namespace, class name and inheritance
291 291
292 Return = String.Empty + 292 Return = String.Empty;// +
293 "using OpenSim.Region.ScriptEngine.Common; using System.Collections.Generic;"; 293 //"using OpenSim.Region.ScriptEngine.Common; using System.Collections.Generic;";
294 //"using System; " + 294
295 //"using System.Collections.Generic; " + 295
296 //"using System.Text; " + 296 //Return += String.Empty +
297 //"using OpenSim.Region.ScriptEngine.Common; " + 297 // "namespace SecondLife { ";
298 //"using integer = System.Int32; " + 298 //Return += String.Empty +
299 //"using key = System.String; "; 299 // //"[Serializable] " +
300 300 // "public class Script : OpenSim.Region.ScriptEngine.Common.LSL_BaseClass { ";
301 //// Make a Using out of DataTypes 301 //Return += @"public Script() { } ";
302 //// Using integer = System.Int32;
303 //string _val;
304 //foreach (string key in DataTypes.Keys)
305 //{
306 // DataTypes.TryGetValue(key, out _val);
307 // if (key != _val)
308 // {
309 // Return += "using " + key + " = " + _val + "; ";
310 // }
311 //}
312
313
314 Return += String.Empty +
315 "namespace SecondLife { ";
316 Return += String.Empty +
317 //"[Serializable] " +
318 "public class Script : OpenSim.Region.ScriptEngine.Common.LSL_BaseClass { ";
319 Return += @"public Script() { } ";
320 Return += Script; 302 Return += Script;
321 Return += "} }\r\n"; 303 //Return += "} }\r\n";
322 304
323 305
324 quotes.Clear(); 306 quotes.Clear();