mirror of
https://github.com/Z3Prover/z3
synced 2025-07-20 11:22:04 +00:00
string escaping
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
c99b805c14
commit
520b24aab4
3 changed files with 4 additions and 5 deletions
|
@ -629,9 +629,7 @@ void seq_decl_plugin::get_sort_names(svector<builtin_name> & sort_names, symbol
|
|||
}
|
||||
|
||||
app* seq_decl_plugin::mk_string(symbol const& s) {
|
||||
zstring canonStr(s.bare_str());
|
||||
symbol canonSym(canonStr.encode());
|
||||
parameter param(canonSym);
|
||||
parameter param(s);
|
||||
func_decl* f = m_manager->mk_const_decl(m_stringc_sym, m_string,
|
||||
func_decl_info(m_family_id, OP_STRING_CONST, 1, ¶m));
|
||||
return m_manager->mk_const(f);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue