mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
last round of warning squashing. calling it a day now.
This commit is contained in:
@@ -44,6 +44,10 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.YieldProlog
|
||||
yield return false;
|
||||
}
|
||||
|
||||
// disable warning on l1, don't see how we can
|
||||
// code this differently
|
||||
#pragma warning disable 0168, 0219
|
||||
|
||||
// Debug: Hand-modify this central predicate to do tail recursion.
|
||||
public static IEnumerable<bool> read_tokens(object arg1, object arg2, object arg3)
|
||||
{
|
||||
@@ -188,7 +192,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.YieldProlog
|
||||
// Compiler output follows.
|
||||
|
||||
class YPInnerClass { }
|
||||
static Type getDeclaringClass() { return typeof(YPInnerClass).DeclaringType; }
|
||||
// static Type getDeclaringClass() { return typeof(YPInnerClass).DeclaringType; }
|
||||
|
||||
public static IEnumerable<bool> parseInput(object TermList)
|
||||
{
|
||||
@@ -224,11 +228,11 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.YieldProlog
|
||||
if (YP.termEqual(Term, Atom.a(@"end_of_file")))
|
||||
{
|
||||
yield break;
|
||||
goto cutIf1;
|
||||
// goto cutIf1;
|
||||
}
|
||||
yield return false;
|
||||
cutIf1:
|
||||
{ }
|
||||
// cutIf1:
|
||||
// { }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -4452,6 +4456,6 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.YieldProlog
|
||||
{ }
|
||||
}
|
||||
}
|
||||
|
||||
#pragma warning restore 0168, 0219
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user