mirror of
https://github.com/ArashPartow/exprtk.git
synced 2025-06-22 16:28:57 +00:00
C++ Mathematical Expression Library (ExprTk) http://www.partow.net/programming/exprtk/index.html
This commit is contained in:
@ -3816,7 +3816,7 @@ namespace exprtk
|
|||||||
template <typename,typename> class Container>
|
template <typename,typename> class Container>
|
||||||
inline bool token_is_then_assign(const token_t::token_type& ttype,
|
inline bool token_is_then_assign(const token_t::token_type& ttype,
|
||||||
Container<std::string,Allocator>& token_list,
|
Container<std::string,Allocator>& token_list,
|
||||||
const bool advance_token = true)
|
const token_advance_mode mode = e_advance)
|
||||||
{
|
{
|
||||||
if (current_token_.type != ttype)
|
if (current_token_.type != ttype)
|
||||||
{
|
{
|
||||||
@ -3825,10 +3825,7 @@ namespace exprtk
|
|||||||
|
|
||||||
token_list.push_back(current_token_.value);
|
token_list.push_back(current_token_.value);
|
||||||
|
|
||||||
if (advance_token)
|
advance_token(mode);
|
||||||
{
|
|
||||||
next_token();
|
|
||||||
}
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user