aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/CodeTools/CSCodeGenerator.cs
diff options
context:
space:
mode:
authorJeff Ames2009-06-10 04:28:56 +0000
committerJeff Ames2009-06-10 04:28:56 +0000
commita23d64dec1cbf88abc3c7e84664a683dee534e4a (patch)
tree7e85403f29839775209481ba7f6ee55aac56f209 /OpenSim/Region/ScriptEngine/Shared/CodeTools/CSCodeGenerator.cs
parentLetting the Flotsam cache be enabled even when [AssetCache] section is missin... (diff)
downloadopensim-SC_OLD-a23d64dec1cbf88abc3c7e84664a683dee534e4a.zip
opensim-SC_OLD-a23d64dec1cbf88abc3c7e84664a683dee534e4a.tar.gz
opensim-SC_OLD-a23d64dec1cbf88abc3c7e84664a683dee534e4a.tar.bz2
opensim-SC_OLD-a23d64dec1cbf88abc3c7e84664a683dee534e4a.tar.xz
Formatting cleanup.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/CodeTools/CSCodeGenerator.cs12
1 files changed, 6 insertions, 6 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/CodeTools/CSCodeGenerator.cs b/OpenSim/Region/ScriptEngine/Shared/CodeTools/CSCodeGenerator.cs
index 91747af..41ecfd3 100644
--- a/OpenSim/Region/ScriptEngine/Shared/CodeTools/CSCodeGenerator.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/CodeTools/CSCodeGenerator.cs
@@ -676,20 +676,20 @@ namespace OpenSim.Region.ScriptEngine.Shared.CodeTools
676 676
677 // It's possible that we don't have an assignment, in which case 677 // It's possible that we don't have an assignment, in which case
678 // the child will be null and we only print the semicolon. 678 // the child will be null and we only print the semicolon.
679 // for ( x = 0 ; x < 10 ; x++ ) 679 // for (x = 0; x < 10; x++)
680 // ^^^^^^^ 680 // ^^^^^
681 ForLoopStatement s = (ForLoopStatement) fl.kids.Pop(); 681 ForLoopStatement s = (ForLoopStatement) fl.kids.Pop();
682 if (null != s) 682 if (null != s)
683 { 683 {
684 retstr += GenerateForLoopStatement(s); 684 retstr += GenerateForLoopStatement(s);
685 } 685 }
686 retstr += Generate("; "); 686 retstr += Generate("; ");
687 // for ( x = 0 ; x < 10 ; x++ ) 687 // for (x = 0; x < 10; x++)
688 // ^^^^^^^^ 688 // ^^^^^^
689 retstr += GenerateNode((SYMBOL) fl.kids.Pop()); 689 retstr += GenerateNode((SYMBOL) fl.kids.Pop());
690 retstr += Generate("; "); 690 retstr += Generate("; ");
691 // for ( x = 0 ; x < 10 ; x++ ) 691 // for (x = 0; x < 10; x++)
692 // ^^^^^ 692 // ^^^
693 retstr += GenerateForLoopStatement((ForLoopStatement) fl.kids.Pop()); 693 retstr += GenerateForLoopStatement((ForLoopStatement) fl.kids.Pop());
694 retstr += GenerateLine(")"); 694 retstr += GenerateLine(")");
695 695