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)