From e6368b2b44502c7be7df25497cae58508a9f6123 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= Date: Sun, 4 Aug 2013 08:31:40 +0200 Subject: [PATCH] StyleCop clean Evaluator --- OpenRA.FileFormats/Evaluator.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/OpenRA.FileFormats/Evaluator.cs b/OpenRA.FileFormats/Evaluator.cs index 40addb059b..19ec58f51b 100644 --- a/OpenRA.FileFormats/Evaluator.cs +++ b/OpenRA.FileFormats/Evaluator.cs @@ -39,14 +39,15 @@ namespace OpenRA.FileFormats default: s.Push(int.Parse(t)); break; } } + return s.Pop(); } - static void ApplyBinop( Stack s, Func f ) + static void ApplyBinop(Stack s, Func f) { var x = s.Pop(); var y = s.Pop(); - s.Push( f(x,y) ); + s.Push(f(x, y)); } static IEnumerable ToPostfix(IEnumerable toks, Dictionary syms)