Formatting cleanup.

This commit is contained in:
Jeff Ames
2009-06-10 04:28:56 +00:00
parent ca52c3ef26
commit a23d64dec1
61 changed files with 120 additions and 121 deletions

View File

@@ -676,20 +676,20 @@ namespace OpenSim.Region.ScriptEngine.Shared.CodeTools
// It's possible that we don't have an assignment, in which case
// the child will be null and we only print the semicolon.
// for ( x = 0 ; x < 10 ; x++ )
// ^^^^^^^
// for (x = 0; x < 10; x++)
// ^^^^^
ForLoopStatement s = (ForLoopStatement) fl.kids.Pop();
if (null != s)
{
retstr += GenerateForLoopStatement(s);
}
retstr += Generate("; ");
// for ( x = 0 ; x < 10 ; x++ )
// ^^^^^^^^
// for (x = 0; x < 10; x++)
// ^^^^^^
retstr += GenerateNode((SYMBOL) fl.kids.Pop());
retstr += Generate("; ");
// for ( x = 0 ; x < 10 ; x++ )
// ^^^^^
// for (x = 0; x < 10; x++)
// ^^^
retstr += GenerateForLoopStatement((ForLoopStatement) fl.kids.Pop());
retstr += GenerateLine(")");

View File

@@ -573,7 +573,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.CodeTools
display--;
string severity = "Error";
if ( CompErr.IsWarning )
if (CompErr.IsWarning)
{
severity = "Warning";
}

View File

@@ -95,7 +95,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.CodeTools
// It's possible that a child is null, for instance when the
// assignment part in a for-loop is left out, ie:
//
// for ( ; i < 10; i++)
// for (; i < 10; i++)
// {
// ...
// }