diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/CodeTools/CSCodeGenerator.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/CodeTools/CSCodeGenerator.cs | 12 |
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 | ||