C++ Mathematical Expression Library (ExprTk) http://www.partow.net/programming/exprtk/index.html
This commit is contained in:
parent
85c094a1aa
commit
8a67b5b5a3
|
@ -19385,6 +19385,8 @@ namespace exprtk
|
||||||
return error_node();
|
return error_node();
|
||||||
else if (!token_is(token_t::e_eof))
|
else if (!token_is(token_t::e_eof))
|
||||||
{
|
{
|
||||||
|
free_node(node_allocator_,default_statement);
|
||||||
|
|
||||||
set_error(
|
set_error(
|
||||||
make_error(parser_error::e_syntax,
|
make_error(parser_error::e_syntax,
|
||||||
current_token(),
|
current_token(),
|
||||||
|
|
|
@ -5903,7 +5903,7 @@ inline bool run_test19()
|
||||||
T(2122700580)
|
T(2122700580)
|
||||||
};
|
};
|
||||||
|
|
||||||
bool failure = true;
|
bool failure = false;
|
||||||
|
|
||||||
for (std::size_t i = 0; i < expr_str_list_size; ++i)
|
for (std::size_t i = 0; i < expr_str_list_size; ++i)
|
||||||
{
|
{
|
||||||
|
@ -5934,7 +5934,7 @@ inline bool run_test19()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!failure)
|
if (failure)
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue