mirror of
https://github.com/Z3Prover/z3
synced 2025-07-19 10:52:02 +00:00
insert fresh name
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
f014ab9598
commit
f98e107d0e
2 changed files with 3 additions and 1 deletions
|
@ -1697,8 +1697,9 @@ namespace datalog {
|
|||
while (fresh_names.contains(nm)) {
|
||||
std::ostringstream s;
|
||||
s << nm << "!";
|
||||
nm = symbol(s.str().c_str());
|
||||
nm = symbol(s.str().c_str());
|
||||
}
|
||||
fresh_names.add(nm);
|
||||
out << " :named " << nm << ")";
|
||||
}
|
||||
out << ")\n";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue