Minor fixes from static analysis.

This commit is contained in:
cc9cii 2014-05-28 21:15:50 +10:00
parent eb1589fd54
commit bbe77d656a
3 changed files with 5 additions and 5 deletions

View file

@ -98,7 +98,7 @@ namespace Compiler
else if (t1=='f' || t2=='f')
mOperands.push_back ('f');
else
std::logic_error ("failed to determine result operand type");
throw std::logic_error ("failed to determine result operand type");
}
void ExprParser::pop()