aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/CodeTools
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/CodeTools')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/CodeTools/YP2CSConverter.cs9
1 files changed, 5 insertions, 4 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/CodeTools/YP2CSConverter.cs b/OpenSim/Region/ScriptEngine/Shared/CodeTools/YP2CSConverter.cs
index 69f9fdc..52c8251 100644
--- a/OpenSim/Region/ScriptEngine/Shared/CodeTools/YP2CSConverter.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/CodeTools/YP2CSConverter.cs
@@ -69,9 +69,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.CodeTools
69 YP.tell(myCS_SW); 69 YP.tell(myCS_SW);
70 70
71 //Console.WriteLine("Mycode\n ===================================\n" + myCode+"\n"); 71 //Console.WriteLine("Mycode\n ===================================\n" + myCode+"\n");
72 // disable warning on l1, don't see how we can 72
73 // code this differently 73// disable warning: don't see how we can code this differently short
74 #pragma warning disable 0168 74// of rewriting the whole thing
75#pragma warning disable 0168
75 foreach (bool l1 in Parser.parseInput(TermList)) 76 foreach (bool l1 in Parser.parseInput(TermList))
76 { 77 {
77 foreach (bool l2 in YPCompiler.makeFunctionPseudoCode(TermList, FunctionCode)) 78 foreach (bool l2 in YPCompiler.makeFunctionPseudoCode(TermList, FunctionCode))
@@ -84,7 +85,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.CodeTools
84 //YPCompiler.convertStringCodesCSharp(VFC); 85 //YPCompiler.convertStringCodesCSharp(VFC);
85 } 86 }
86 } 87 }
87 #pragma warning restore 0168 88#pragma warning restore 0168
88 YP.seen(); 89 YP.seen();
89 myCS_SW.Close(); 90 myCS_SW.Close();
90 YP.told(); 91 YP.told();