- Removed exception handlers in ::infixParse, thereby relying on the caller to
  set up appropriate handling.
This commit is contained in:
Paul Beckingham 2014-05-25 14:26:20 -04:00
parent d79c86ebb5
commit d62c4428a9

View file

@ -382,22 +382,8 @@ void Eval::evaluatePostfixStack (
void Eval::infixParse (
std::vector <std::pair <std::string, Lexer::Type> >& 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);
}
////////////////////////////////////////////////////////////////////////////////