aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/CodeTools/YP2CSConverter.cs
diff options
context:
space:
mode:
authorDr Scofield2008-06-30 11:57:47 +0000
committerDr Scofield2008-06-30 11:57:47 +0000
commit313f7f60fda81c987e0ac4da4dc8c2f5def46b72 (patch)
tree71c30ab49c97a17d157c59877842d159f5eac3e1 /OpenSim/Region/ScriptEngine/Shared/CodeTools/YP2CSConverter.cs
parentdisables spam-like debugging messages inadvertently left on in last commit (o... (diff)
downloadopensim-SC_OLD-313f7f60fda81c987e0ac4da4dc8c2f5def46b72.zip
opensim-SC_OLD-313f7f60fda81c987e0ac4da4dc8c2f5def46b72.tar.gz
opensim-SC_OLD-313f7f60fda81c987e0ac4da4dc8c2f5def46b72.tar.bz2
opensim-SC_OLD-313f7f60fda81c987e0ac4da4dc8c2f5def46b72.tar.xz
properly explaining each #pragma warning disable
massaging OSHttpRequestPump to not abort on exceptions...
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/CodeTools/YP2CSConverter.cs')
-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();