mirror of
https://github.com/opensim/opensim.git
synced 2026-07-19 05:56:12 +08:00
Formatting cleanup.
This commit is contained in:
@@ -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(")");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user