diff options
author | Johan Berntsson | 2008-07-08 03:02:11 +0000 |
---|---|---|
committer | Johan Berntsson | 2008-07-08 03:02:11 +0000 |
commit | a73e3b4e3fdb6b563dddaa7f67d5fe69e65ca752 (patch) | |
tree | 920460cb6108ee9ecb2504f39a0cbf2e86ea2477 /OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs | |
parent | llscript compiler patch from Mike: adds LSL jumps and implicit variable initi... (diff) | |
download | opensim-SC-a73e3b4e3fdb6b563dddaa7f67d5fe69e65ca752.zip opensim-SC-a73e3b4e3fdb6b563dddaa7f67d5fe69e65ca752.tar.gz opensim-SC-a73e3b4e3fdb6b563dddaa7f67d5fe69e65ca752.tar.bz2 opensim-SC-a73e3b4e3fdb6b563dddaa7f67d5fe69e65ca752.tar.xz |
another patch from Mike: the llscript compiler is now available in XEngine as well. Thanks Mike
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs b/OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs index d54d2f5..124f1e6 100644 --- a/OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs +++ b/OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs | |||
@@ -73,6 +73,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.CodeTools | |||
73 | private string ScriptEnginesPath = "ScriptEngines"; | 73 | private string ScriptEnginesPath = "ScriptEngines"; |
74 | 74 | ||
75 | private static LSL2CSConverter LSL_Converter = new LSL2CSConverter(); | 75 | private static LSL2CSConverter LSL_Converter = new LSL2CSConverter(); |
76 | //private static CSCodeGenerator LSL_Converter; | ||
76 | private static CSharpCodeProvider CScodeProvider = new CSharpCodeProvider(); | 77 | private static CSharpCodeProvider CScodeProvider = new CSharpCodeProvider(); |
77 | private static VBCodeProvider VBcodeProvider = new VBCodeProvider(); | 78 | private static VBCodeProvider VBcodeProvider = new VBCodeProvider(); |
78 | private static JScriptCodeProvider JScodeProvider = new JScriptCodeProvider(); | 79 | private static JScriptCodeProvider JScodeProvider = new JScriptCodeProvider(); |
@@ -324,6 +325,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.CodeTools | |||
324 | { | 325 | { |
325 | // Its LSL, convert it to C# | 326 | // Its LSL, convert it to C# |
326 | compileScript = LSL_Converter.Convert(Script); | 327 | compileScript = LSL_Converter.Convert(Script); |
328 | //LSL_Converter = new CSCodeGenerator(Script); | ||
329 | //compileScript = LSL_Converter.Generate(); | ||
327 | l = enumCompileType.cs; | 330 | l = enumCompileType.cs; |
328 | } | 331 | } |
329 | 332 | ||