diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs index e7b33f6..fe30119 100644 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs +++ b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs | |||
@@ -289,7 +289,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL | |||
289 | compileScript = String.Empty + | 289 | compileScript = String.Empty + |
290 | "import OpenSim.Region.ScriptEngine.Common; import System.Collections.Generic;\r\n" + | 290 | "import OpenSim.Region.ScriptEngine.Common; import System.Collections.Generic;\r\n" + |
291 | "package SecondLife {\r\n" + | 291 | "package SecondLife {\r\n" + |
292 | "class Script extends OpenSim.Region.ScriptEngine.Common.LSL_BaseClass { \r\n" + | 292 | "class Script extends OpenSim.Region.ScriptEngine.Common.BuilIn_Commands { \r\n" + |
293 | compileScript + | 293 | compileScript + |
294 | "} }\r\n"; | 294 | "} }\r\n"; |
295 | return compileScript; | 295 | return compileScript; |
@@ -300,7 +300,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL | |||
300 | compileScript = String.Empty + | 300 | compileScript = String.Empty + |
301 | "using OpenSim.Region.ScriptEngine.Common; using System.Collections.Generic;\r\n" + | 301 | "using OpenSim.Region.ScriptEngine.Common; using System.Collections.Generic;\r\n" + |
302 | String.Empty + "namespace SecondLife { " + | 302 | String.Empty + "namespace SecondLife { " + |
303 | String.Empty + "public class Script : OpenSim.Region.ScriptEngine.Common.LSL_BaseClass { \r\n" + | 303 | String.Empty + "public class Script : OpenSim.Region.ScriptEngine.Common.BuilIn_Commands { \r\n" + |
304 | @"public Script() { } " + | 304 | @"public Script() { } " + |
305 | compileScript + | 305 | compileScript + |
306 | "} }\r\n"; | 306 | "} }\r\n"; |
@@ -312,7 +312,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL | |||
312 | compileScript = String.Empty + | 312 | compileScript = String.Empty + |
313 | "Imports OpenSim.Region.ScriptEngine.Common: Imports System.Collections.Generic: " + | 313 | "Imports OpenSim.Region.ScriptEngine.Common: Imports System.Collections.Generic: " + |
314 | String.Empty + "NameSpace SecondLife:" + | 314 | String.Empty + "NameSpace SecondLife:" + |
315 | String.Empty + "Public Class Script: Inherits OpenSim.Region.ScriptEngine.Common.LSL_BaseClass: " + | 315 | String.Empty + "Public Class Script: Inherits OpenSim.Region.ScriptEngine.Common.BuilIn_Commands: " + |
316 | "\r\nPublic Sub New()\r\nEnd Sub: " + | 316 | "\r\nPublic Sub New()\r\nEnd Sub: " + |
317 | compileScript + | 317 | compileScript + |
318 | ":End Class :End Namespace\r\n"; | 318 | ":End Class :End Namespace\r\n"; |