The mechanism with the next pointers for tac's was working fine as long as all tac's were unique by construction. The macro mechanism made it possible for the same tac to occur twice in the tree. This could lead to an infinite loop. Now we make explicit copies of the top-level tac. This should fix the problem caused by the tuple parsing. A more fundamental solution is to make a deep copy of the substituted terms.
8.8 KiB
8.8 KiB