StyleCop clean Evaluator

This commit is contained in:
Matthias Mailänder
2013-08-04 08:31:40 +02:00
parent 5957627fb6
commit e6368b2b44

View File

@@ -39,14 +39,15 @@ namespace OpenRA.FileFormats
default: s.Push(int.Parse(t)); break;
}
}
return s.Pop();
}
static void ApplyBinop( Stack<int> s, Func<int,int,int> f )
static void ApplyBinop(Stack<int> s, Func<int, int, int> f)
{
var x = s.Pop();
var y = s.Pop();
s.Push( f(x,y) );
s.Push(f(x, y));
}
static IEnumerable<string> ToPostfix(IEnumerable<string> toks, Dictionary<string, int> syms)