C++ Mathematical Expression Library (ExprTk) http://www.partow.net/programming/exprtk/index.html

This commit is contained in:
Arash Partow 2015-04-28 18:15:18 +10:00
parent 85c094a1aa
commit 8a67b5b5a3
2 changed files with 4 additions and 2 deletions

View File

@ -19385,6 +19385,8 @@ namespace exprtk
return error_node();
else if (!token_is(token_t::e_eof))
{
free_node(node_allocator_,default_statement);
set_error(
make_error(parser_error::e_syntax,
current_token(),

View File

@ -5903,7 +5903,7 @@ inline bool run_test19()
T(2122700580)
};
bool failure = true;
bool failure = false;
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;
}