mirror of
https://github.com/Z3Prover/z3
synced 2025-06-06 06:03:23 +00:00
symbol/zstring transition
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
20a67e47ca
commit
262daf5151
1 changed files with 1 additions and 1 deletions
|
@ -503,7 +503,7 @@ func_decl * seq_decl_plugin::mk_func_decl(decl_kind k, unsigned num_parameters,
|
||||||
if (!(num_parameters == 1 && parameters[0].is_int()))
|
if (!(num_parameters == 1 && parameters[0].is_int()))
|
||||||
m.raise_exception("character literal expects integer parameter");
|
m.raise_exception("character literal expects integer parameter");
|
||||||
zstring zs(parameters[0].get_int());
|
zstring zs(parameters[0].get_int());
|
||||||
parameter p(zs.encode());
|
parameter p(zs);
|
||||||
return m.mk_const_decl(m_stringc_sym, m_string,func_decl_info(m_family_id, OP_STRING_CONST, 1, &p));
|
return m.mk_const_decl(m_stringc_sym, m_string,func_decl_info(m_family_id, OP_STRING_CONST, 1, &p));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue