mirror of
https://github.com/Z3Prover/z3
synced 2025-06-15 18:36:16 +00:00
Unicode for Z3str3 (#4981)
* z3str3: remove hard-coded char set * z3str3: remove hard-coded char set * z3str3: use char abstraction * z3str3: scope management for unicode chars * add QF_CHAR for z3str3 * z3str3: remove hard-coded char set * z3str3: use char abstraction * z3str3: scope management for unicode chars * add QF_CHAR for z3str3 * z3str3: add 'char' string solver case * z3str3: fix mk_char using the wrong ast manager * z3str3: fix refcounted character vectors
This commit is contained in:
parent
cfcd7f18a9
commit
da68c3213c
4 changed files with 49 additions and 36 deletions
|
@ -735,6 +735,10 @@ namespace smt {
|
|||
else if (m_params.m_string_solver == "none") {
|
||||
// don't register any solver.
|
||||
}
|
||||
else if (m_params.m_string_solver == "char") {
|
||||
setup_QF_BV();
|
||||
setup_char();
|
||||
}
|
||||
else {
|
||||
throw default_exception("invalid parameter for smt.string_solver, valid options are 'z3str3', 'seq', 'auto'");
|
||||
}
|
||||
|
@ -930,7 +934,6 @@ namespace smt {
|
|||
void setup::setup_str() {
|
||||
setup_arith();
|
||||
m_context.register_plugin(alloc(theory_str, m_context, m_manager, m_params));
|
||||
setup_char();
|
||||
}
|
||||
|
||||
void setup::setup_seq() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue