aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/YieldProlog/IndexedAnswers.cs
diff options
context:
space:
mode:
authorDr Scofield2008-11-17 11:06:24 +0000
committerDr Scofield2008-11-17 11:06:24 +0000
commitae0bcab35e58796da3d214edbfade6ac302cb82c (patch)
treece1f279e1d634f7bfb81e70f999f20bd17bd6d46 /OpenSim/Region/ScriptEngine/Shared/Api/Runtime/YieldProlog/IndexedAnswers.cs
parentUse the message transfer module to pass items across the grid via the profile (diff)
downloadopensim-SC_OLD-ae0bcab35e58796da3d214edbfade6ac302cb82c.zip
opensim-SC_OLD-ae0bcab35e58796da3d214edbfade6ac302cb82c.tar.gz
opensim-SC_OLD-ae0bcab35e58796da3d214edbfade6ac302cb82c.tar.bz2
opensim-SC_OLD-ae0bcab35e58796da3d214edbfade6ac302cb82c.tar.xz
adding #pragma warnings to yprolog language support
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Runtime/YieldProlog/IndexedAnswers.cs')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Runtime/YieldProlog/IndexedAnswers.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/YieldProlog/IndexedAnswers.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/YieldProlog/IndexedAnswers.cs
index d6a339b..04357a9 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/YieldProlog/IndexedAnswers.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/YieldProlog/IndexedAnswers.cs
@@ -249,7 +249,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.YieldProlog
249 object[] arguments = YP.getFunctorArgs(Head); 249 object[] arguments = YP.getFunctorArgs(Head);
250 250
251 // We always match Head from _allAnswers, and the Body is Atom.a("true"). 251 // We always match Head from _allAnswers, and the Body is Atom.a("true").
252 #pragma warning disable 0168 252 #pragma warning disable 0168, 0219
253 foreach (bool l1 in YP.unify(Body, Atom.a("true"))) 253 foreach (bool l1 in YP.unify(Body, Atom.a("true")))
254 { 254 {
255 // The caller can assert another answer into this same predicate during yield, so we have to 255 // The caller can assert another answer into this same predicate during yield, so we have to
@@ -260,7 +260,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.YieldProlog
260 yield return false; 260 yield return false;
261 } 261 }
262 } 262 }
263 #pragma warning restore 0168 263 #pragma warning restore 0168, 0219
264 } 264 }
265 265
266 public IEnumerable<bool> retract(object Head, object Body) 266 public IEnumerable<bool> retract(object Head, object Body)
@@ -271,7 +271,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.YieldProlog
271 object[] arguments = YP.getFunctorArgs(Head); 271 object[] arguments = YP.getFunctorArgs(Head);
272 272
273 // We always match Head from _allAnswers, and the Body is Atom.a("true"). 273 // We always match Head from _allAnswers, and the Body is Atom.a("true").
274 #pragma warning disable 0168 274 #pragma warning disable 0168, 0219
275 foreach (bool l1 in YP.unify(Body, Atom.a("true"))) 275 foreach (bool l1 in YP.unify(Body, Atom.a("true")))
276 { 276 {
277 // The caller can assert another answer into this same predicate during yield, so we have to 277 // The caller can assert another answer into this same predicate during yield, so we have to
@@ -286,7 +286,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.YieldProlog
286 } 286 }
287 } 287 }
288 } 288 }
289 #pragma warning restore 0168 289 #pragma warning restore 0168, 0219
290 } 290 }
291 291
292 /// <summary> 292 /// <summary>