From 382fb8cea6c7a71ecbdab2a4ef8526bf3045fb2e Mon Sep 17 00:00:00 2001 From: Johan Berntsson Date: Fri, 4 Jul 2008 08:59:41 +0000 Subject: The new llScript-cs parser. Thanks Mike --- OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs') diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs index 0d3c8c6..022cae4 100644 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs +++ b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs @@ -73,6 +73,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL private string ScriptEnginesPath = "ScriptEngines"; private static LSL2CSConverter LSL_Converter = new LSL2CSConverter(); + //private static CSCodeGenerator LSL_Converter; private static CSharpCodeProvider CScodeProvider = new CSharpCodeProvider(); private static VBCodeProvider VBcodeProvider = new VBCodeProvider(); private static JScriptCodeProvider JScodeProvider = new JScriptCodeProvider(); @@ -275,6 +276,8 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL { // Its LSL, convert it to C# compileScript = LSL_Converter.Convert(Script); + //LSL_Converter = new CSCodeGenerator(Script); + //compileScript = LSL_Converter.Generate(); l = enumCompileType.cs; } -- cgit v1.1