This commit is contained in:
Florian Lüke 2018-05-28 10:10:45 +00:00 committed by GitHub
commit 044b0eefdf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -17337,8 +17337,8 @@ namespace exprtk
{
/*
Function will return true if symbol_name exists as either a
reserved symbol, variable, stringvar or function name in any
of the type stores.
reserved symbol, variable, stringvar, vector or function name in
any of the type stores.
*/
if (!valid())
return false;
@ -17348,6 +17348,8 @@ namespace exprtk
else if (local_data().stringvar_store.symbol_exists(symbol_name))
return true;
#endif
else if (local_data().vector_store.symbol_exists(symbol_name))
return true;
else if (local_data().function_store.symbol_exists(symbol_name))
return true;
else if (check_reserved_symb && local_data().is_reserved_symbol(symbol_name))