mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
Xengine: also missed a few newlines account
This commit is contained in:
@@ -1021,6 +1021,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.CodeTools
|
||||
private void GenerateLine(StringBuilder sb)
|
||||
{
|
||||
sb.Append("\n");
|
||||
m_CSharpLine++;
|
||||
m_CSharpCol = 1;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -1032,6 +1034,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.CodeTools
|
||||
{
|
||||
sb.Append(s);
|
||||
sb.Append("\n");
|
||||
m_CSharpLine++;
|
||||
m_CSharpCol = 1;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -109,7 +109,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.CodeTools
|
||||
m_insertCoopTerminationCalls = m_scriptEngine.Config.GetString("ScriptStopStrategy", "abort") == "co-op";
|
||||
|
||||
// Get file prefix from scriptengine name and make it file system safe:
|
||||
FilePrefix = "CommonCompiler";
|
||||
FilePrefix = "";
|
||||
foreach (char c in Path.GetInvalidFileNameChars())
|
||||
{
|
||||
FilePrefix = FilePrefix.Replace(c, '_');
|
||||
@@ -441,8 +441,8 @@ namespace SecondLife
|
||||
{{
|
||||
public class {0} : {1}
|
||||
{{
|
||||
public {0}({2}) : base({3}) {{}}
|
||||
",
|
||||
public {0}({2}) : base({3}) {{}}"
|
||||
,
|
||||
className,
|
||||
baseClassName,
|
||||
constructorParameters != null
|
||||
|
||||
Reference in New Issue
Block a user