Xengine: and fix line count again
parent
2cbacbfb82
commit
2a0df34087
|
@ -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");
|
||||||
|
|
|
@ -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(
|
||||||
|
|
Loading…
Reference in New Issue