Xengine: and fix line count again

LSLKeyTest
UbitUmarov 2016-08-31 14:36:07 +01:00
parent 2cbacbfb82
commit 2a0df34087
2 changed files with 5 additions and 9 deletions

View File

@ -169,18 +169,14 @@ namespace OpenSim.Region.ScriptEngine.Shared.CodeTools
// standard preamble // standard preamble
//retstr = GenerateLine("using OpenSim.Region.ScriptEngine.Common;");
//retstr += GenerateLine("using System.Collections.Generic;");
//retstr += GenerateLine("");
//retstr += GenerateLine("namespace SecondLife");
//retstr += GenerateLine("{");
m_braceCount++; m_braceCount++;
//retstr += GenerateIndentedLine("public class Script : OpenSim.Region.ScriptEngine.Common");
//retstr += GenerateIndentedLine("{");
m_braceCount++; m_braceCount++;
// line number // line number
m_CSharpLine += 9; m_CSharpLine += 10;
// here's the payload // here's the payload
sb.Append("\n"); sb.Append("\n");

View File

@ -456,7 +456,7 @@ namespace SecondLife
public static void AddCSScriptTail(StringBuilder sb) public static void AddCSScriptTail(StringBuilder sb)
{ {
sb.Append(string.Format("\n }}\n}}\n")); sb.Append(string.Format(" }}\n}}\n"));
} }
public static string CreateCSCompilerScript( public static string CreateCSCompilerScript(