Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix a case where a boolean check (vector.empty()) was used when a cle…
…ar (vector.clear()) was intended in ExpressionParser.cpp.
  • Loading branch information
lioncash committed Jul 3, 2013
1 parent 1f92ccc commit 03a47d3
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -190,7 +190,7 @@ class Lexer {

if (tok.type == TOK_INVALID)
{
tokens.empty();
tokens.clear();
return EXPRESSION_PARSE_SYNTAX_ERROR;
}

Expand Down

0 comments on commit 03a47d3

Please sign in to comment.