3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-15 13:28:47 +00:00

set unicode to default

This commit is contained in:
Nikolaj Bjorner 2021-01-31 07:22:51 -08:00
parent 3f93cc3f0b
commit 8fde6c207d
2 changed files with 3 additions and 2 deletions

View file

@ -23,7 +23,8 @@ Author:
char_decl_plugin::char_decl_plugin(): char_decl_plugin::char_decl_plugin():
m_charc_sym("Char") { m_charc_sym("Char") {
m_unicode = gparams::get_value("unicode") == "true"; std::cout << gparams::get_value("unicode") << "\n";
m_unicode = gparams::get_value("unicode") != "false";
} }
char_decl_plugin::~char_decl_plugin() { char_decl_plugin::~char_decl_plugin() {

View file

@ -78,7 +78,7 @@ zstring::zstring(char const* s) {
} }
bool zstring::uses_unicode() const { bool zstring::uses_unicode() const {
return gparams::get_value("unicode") == "true"; return gparams::get_value("unicode") != "false";
} }
bool zstring::well_formed() const { bool zstring::well_formed() const {