chore(library/replace_visitor): add copy_pos
This commit is contained in:
parent
03391006dc
commit
bd91d08bcd
1 changed files with 1 additions and 1 deletions
|
|
@ -53,7 +53,7 @@ expr replace_visitor::visit_macro(expr const & e) {
|
|||
expr replace_visitor::save_result(expr const & e, expr && r, bool shared) {
|
||||
if (shared)
|
||||
m_cache.insert(std::make_pair(e, r));
|
||||
return r; // copy_pos(e, r); <<<<
|
||||
return copy_pos(e, r);
|
||||
}
|
||||
expr replace_visitor::visit(expr const & e) {
|
||||
check_system("expression replacer");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue