mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 17:15:31 +00:00
bv2char and char2bv with Clemens
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
34f878fb97
commit
f13ccf8969
7 changed files with 93 additions and 10 deletions
|
@ -86,16 +86,13 @@ zstring::zstring(char const* s) {
|
|||
}
|
||||
|
||||
string_encoding zstring::get_encoding() {
|
||||
if (gparams::get_value("encoding") == "unicode") {
|
||||
if (gparams::get_value("encoding") == "unicode")
|
||||
return unicode;
|
||||
if (gparams::get_value("encoding") == "bmp")
|
||||
return bmp;
|
||||
if (gparams::get_value("encoding") == "ascii")
|
||||
return ascii;
|
||||
return unicode;
|
||||
}
|
||||
if (gparams::get_value("encoding") == "bmp") {
|
||||
return bmp;
|
||||
}
|
||||
if (gparams::get_value("encoding") == "ascii") {
|
||||
return ascii;
|
||||
}
|
||||
return unicode;
|
||||
}
|
||||
|
||||
bool zstring::well_formed() const {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue