Bugfix: cached the wrong boolean value. Fixed.
This commit is contained in:
parent
2d4b9c0d93
commit
cfee4c6bc1
@ -69,7 +69,7 @@ namespace chaiscript
|
||||
else if (node->text == "false") {
|
||||
//return const_var(false);
|
||||
if (!node->is_cached) {
|
||||
cache_const(ss, node, const_var(true));
|
||||
cache_const(ss, node, const_var(false));
|
||||
}
|
||||
return node->cached_value;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user