mirror of
https://github.com/Z3Prover/z3
synced 2025-04-13 12:28:44 +00:00
parent
84c7df75d6
commit
8b4e1c1209
|
@ -68,11 +68,10 @@ extern "C" {
|
|||
('/' == *m) || ('-' == *m) ||
|
||||
(' ' == *m) || ('\n' == *m) ||
|
||||
('.' == *m) || ('e' == *m) ||
|
||||
('E' == *m) ||
|
||||
('E' == *m) || ('+' == *m) ||
|
||||
(is_float &&
|
||||
(('p' == *m) ||
|
||||
('P' == *m) ||
|
||||
('+' == *m))))) {
|
||||
('P' == *m))))) {
|
||||
SET_ERROR_CODE(Z3_PARSER_ERROR, nullptr);
|
||||
RETURN_Z3(nullptr);
|
||||
}
|
||||
|
|
|
@ -80,10 +80,10 @@ public:
|
|||
}
|
||||
expr_ref_vector fmls(m);
|
||||
rw2.flush_side_constraints(fmls);
|
||||
for (unsigned i = 0; !g->inconsistent() && i < fmls.size(); ++i) {
|
||||
g->assert_expr(fmls[i].get());
|
||||
for (expr* e : fmls) {
|
||||
g->assert_expr(e);
|
||||
}
|
||||
|
||||
|
||||
func_decl_ref_vector const& fns = rw2.fresh_constants();
|
||||
if (!fns.empty()) {
|
||||
generic_model_converter* filter = alloc(generic_model_converter, m, "card2bv");
|
||||
|
|
|
@ -230,6 +230,10 @@ void mpq_manager<SYNCH>::set(mpq & a, char const * val) {
|
|||
exp_sign = true;
|
||||
++str;
|
||||
}
|
||||
else if (str[0] == '+') {
|
||||
exp_sign = false;
|
||||
++str;
|
||||
}
|
||||
while (str[0]) {
|
||||
if ('0' <= str[0] && str[0] <= '9') {
|
||||
SASSERT(str[0] - '0' <= 9);
|
||||
|
|
Loading…
Reference in a new issue