mirror of
https://github.com/ArashPartow/exprtk.git
synced 2025-07-08 03:09:03 +00:00
C++ Mathematical Expression Library (ExprTk) http://www.partow.net/programming/exprtk/index.html
This commit is contained in:
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user