diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs index ae60a47..d44b141 100644 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs +++ b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs | |||
@@ -292,9 +292,8 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL | |||
292 | case enumCompileType.js: | 292 | case enumCompileType.js: |
293 | compileScript = String.Empty + | 293 | compileScript = String.Empty + |
294 | "import OpenSim.Region.ScriptEngine.Common; import System.Collections.Generic;\r\n" + | 294 | "import OpenSim.Region.ScriptEngine.Common; import System.Collections.Generic;\r\n" + |
295 | "namespace SecondLife { " + | 295 | "package SecondLife {\r\n" + |
296 | "class Script : OpenSim.Region.ScriptEngine.Common.LSL_BaseClass { \r\n" + | 296 | "class Script extends OpenSim.Region.ScriptEngine.Common.LSL_BaseClass { \r\n" + |
297 | @"public Script() { } " + | ||
298 | compileScript + | 297 | compileScript + |
299 | "} }\r\n"; | 298 | "} }\r\n"; |
300 | break; | 299 | break; |