Skip to content

Commit 896a92d

Browse files
committed
Update ExprTk to 0.0.3
Signed-off-by: Arash Partow <partow@gmail.com>
1 parent c10906b commit 896a92d

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.gitmodules

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
url = https://github.com/gtkwave/gtkwave.git
77
[submodule "third_party/exprtk"]
88
path = third_party/exprtk
9-
url = https://github.com/ArashPartow/exprtk.git
9+
url = https://github.com/ArashPartow/exprtk.git
10+
branch = release
1011
[submodule "third_party/spdlog"]
1112
path = third_party/spdlog
1213
url = https://github.com/gabime/spdlog.git

src/DeviceModeling/rs_expression_evaluator.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ class rs_expression_evaluator {
108108
symbol_table_t symbol_table;
109109
expression_t expression;
110110
expression.register_symbol_table(symbol_table);
111-
parser_t parser(settings_t(settings_t::compile_all_opts +
111+
parser_t parser(settings_t(settings_t::default_compile_all_opts +
112112
settings_t::e_disable_usr_on_rsrvd)
113113
.disable_all_base_functions()
114114
.disable_all_control_structures());
@@ -178,7 +178,7 @@ class rs_expression_evaluator {
178178
symbol_table_t symbol_table;
179179
expression_t expression;
180180
expression.register_symbol_table(symbol_table);
181-
parser_t parser(settings_t(settings_t::compile_all_opts +
181+
parser_t parser(settings_t(settings_t::default_compile_all_opts +
182182
settings_t::e_disable_usr_on_rsrvd)
183183
.disable_all_base_functions()
184184
.disable_all_control_structures());

0 commit comments

Comments
 (0)