aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL2CSConverter.cs
diff options
context:
space:
mode:
authorTedd Hansen2007-08-26 14:04:22 +0000
committerTedd Hansen2007-08-26 14:04:22 +0000
commit83d5df39791c4778e791f9bdb0fca0c30a20a793 (patch)
treefaed1054d9e3f5c1cba5084c75572c4c80e0d1f3 /OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL2CSConverter.cs
parentRun-time script errors are now shown in-world. No line number though, might r... (diff)
downloadopensim-SC-83d5df39791c4778e791f9bdb0fca0c30a20a793.zip
opensim-SC-83d5df39791c4778e791f9bdb0fca0c30a20a793.tar.gz
opensim-SC-83d5df39791c4778e791f9bdb0fca0c30a20a793.tar.bz2
opensim-SC-83d5df39791c4778e791f9bdb0fca0c30a20a793.tar.xz
in-world run-time error-message no-w con-tains function-name.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL2CSConverter.cs')
-rw-r--r--OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL2CSConverter.cs22
1 files changed, 11 insertions, 11 deletions
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL2CSConverter.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL2CSConverter.cs
index bac8bde..f941bc0 100644
--- a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL2CSConverter.cs
+++ b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL2CSConverter.cs
@@ -13,12 +13,12 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL
13 13
14 public LSL2CSConverter() 14 public LSL2CSConverter()
15 { 15 {
16 16 // Only the types we need to convert
17 DataTypes.Add("void", "void"); 17 DataTypes.Add("void", "void");
18 DataTypes.Add("integer", "System.Int32"); 18 DataTypes.Add("integer", "int");
19 DataTypes.Add("float", "System.Double"); 19 DataTypes.Add("float", "double");
20 DataTypes.Add("string", "string"); 20 DataTypes.Add("string", "string");
21 DataTypes.Add("key", "System.String"); 21 DataTypes.Add("key", "string");
22 DataTypes.Add("vector", "LSL_Types.Vector3"); 22 DataTypes.Add("vector", "LSL_Types.Vector3");
23 DataTypes.Add("rotation", "LSL_Types.Quaternion"); 23 DataTypes.Add("rotation", "LSL_Types.Quaternion");
24 DataTypes.Add("list", "list"); 24 DataTypes.Add("list", "list");
@@ -230,13 +230,13 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL
230 230
231 // Add namespace, class name and inheritance 231 // Add namespace, class name and inheritance
232 232
233 Return = "" + 233 Return = "";// +
234 "using System; " + 234 //"using System; " +
235 "using System.Collections.Generic; " + 235 //"using System.Collections.Generic; " +
236 "using System.Text; " + 236 //"using System.Text; " +
237 "using OpenSim.Region.ScriptEngine.Common; " + 237 //"using OpenSim.Region.ScriptEngine.Common; " +
238 "using integer = System.Int32; " + 238 //"using integer = System.Int32; " +
239 "using key = System.String; "; 239 //"using key = System.String; ";
240 240
241 //// Make a Using out of DataTypes 241 //// Make a Using out of DataTypes
242 //// Using integer = System.Int32; 242 //// Using integer = System.Int32;