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:
parent
1f92ccc228
commit
03a47d3c6b
|
@ -190,7 +190,7 @@ public:
|
|||
|
||||
if (tok.type == TOK_INVALID)
|
||||
{
|
||||
tokens.empty();
|
||||
tokens.clear();
|
||||
return EXPRESSION_PARSE_SYNTAX_ERROR;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue