Fix a case where a boolean check (vector.empty()) was used when a clear (vector.clear()) was intended in ExpressionParser.cpp.

This commit is contained in:
Lioncash 2013-07-02 21:42:44 -04:00
parent 1f92ccc228
commit 03a47d3c6b
1 changed files with 1 additions and 1 deletions

View File

@ -190,7 +190,7 @@ public:
if (tok.type == TOK_INVALID)
{
tokens.empty();
tokens.clear();
return EXPRESSION_PARSE_SYNTAX_ERROR;
}