Skip to content

Commit

Permalink
Update ExprTk to 0.0.3
Browse files Browse the repository at this point in the history
Signed-off-by: Arash Partow <[email protected]>
  • Loading branch information
ArashPartow committed Jan 1, 2024
1 parent c10906b commit 896a92d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
url = https://github.com/gtkwave/gtkwave.git
[submodule "third_party/exprtk"]
path = third_party/exprtk
url = https://github.com/ArashPartow/exprtk.git
url = https://github.com/ArashPartow/exprtk.git
branch = release
[submodule "third_party/spdlog"]
path = third_party/spdlog
url = https://github.com/gabime/spdlog.git
Expand Down
4 changes: 2 additions & 2 deletions src/DeviceModeling/rs_expression_evaluator.h
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ class rs_expression_evaluator {
symbol_table_t symbol_table;
expression_t expression;
expression.register_symbol_table(symbol_table);
parser_t parser(settings_t(settings_t::compile_all_opts +
parser_t parser(settings_t(settings_t::default_compile_all_opts +
settings_t::e_disable_usr_on_rsrvd)
.disable_all_base_functions()
.disable_all_control_structures());
Expand Down Expand Up @@ -178,7 +178,7 @@ class rs_expression_evaluator {
symbol_table_t symbol_table;
expression_t expression;
expression.register_symbol_table(symbol_table);
parser_t parser(settings_t(settings_t::compile_all_opts +
parser_t parser(settings_t(settings_t::default_compile_all_opts +
settings_t::e_disable_usr_on_rsrvd)
.disable_all_base_functions()
.disable_all_control_structures());
Expand Down

0 comments on commit 896a92d

Please sign in to comment.