From d62c4428a9653a13f653fb17583a0ae25ee67a03 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sun, 25 May 2014 14:26:20 -0400 Subject: [PATCH] Eval - Removed exception handlers in ::infixParse, thereby relying on the caller to set up appropriate handling. --- src/Eval.cpp | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/src/Eval.cpp b/src/Eval.cpp index 39a028c6e..d61dd34cc 100644 --- a/src/Eval.cpp +++ b/src/Eval.cpp @@ -382,22 +382,8 @@ void Eval::evaluatePostfixStack ( void Eval::infixParse ( std::vector >& infix) const { - try - { - int i = 0; - parseLogical (infix, i); - } - - // TODO Remove handlers? - catch (const std::string& error) - { - std::cerr << error << "\n"; - } - - catch (...) - { - std::cerr << "Unknown error.\n"; - } + int i = 0; + parseLogical (infix, i); } ////////////////////////////////////////////////////////////////////////////////