mirror of
https://github.com/Z3Prover/z3
synced 2025-10-01 13:39:28 +00:00
simplify_concat_equality() and easy cases there
still WIP especially wrt. model generation but what's here does work
This commit is contained in:
parent
8ed86d2f19
commit
1cdfe159b8
3 changed files with 401 additions and 5 deletions
|
@ -102,7 +102,7 @@ func_decl * str_decl_plugin::mk_func_decl(decl_kind k, unsigned num_parameters,
|
|||
app * str_decl_plugin::mk_string(std::string & val) {
|
||||
std::map<std::string, app*>::iterator it = string_cache.find(val);
|
||||
if (it == string_cache.end()) {
|
||||
char * new_buffer = alloc_svect(char, val.length() + 1);
|
||||
char * new_buffer = alloc_svect(char, (val.length() + 1));
|
||||
strcpy(new_buffer, val.c_str());
|
||||
parameter p[1] = {parameter(new_buffer)};
|
||||
func_decl * d;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue