mirror of
https://github.com/Z3Prover/z3
synced 2025-08-05 10:50:24 +00:00
indent
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
4953b95baa
commit
48701826f1
5 changed files with 21 additions and 14 deletions
|
@ -932,11 +932,12 @@ namespace sat {
|
|||
return ous.str();
|
||||
}
|
||||
|
||||
proof_hint proof_hint::from_string(char const* s) {
|
||||
proof_hint h;
|
||||
void proof_hint::from_string(char const* s) {
|
||||
proof_hint& h = *this;
|
||||
h.reset();
|
||||
h.m_ty = hint_type::null_h;
|
||||
if (!s)
|
||||
return h;
|
||||
return;
|
||||
auto ws = [&]() {
|
||||
while (*s == ' ' || *s == '\n' || *s == '\t')
|
||||
++s;
|
||||
|
@ -999,14 +1000,14 @@ namespace sat {
|
|||
|
||||
ws();
|
||||
if (!parse_type())
|
||||
return h;
|
||||
return;
|
||||
ws();
|
||||
while (*s) {
|
||||
if (!parse_coeff_literal())
|
||||
return h;
|
||||
return;
|
||||
ws();
|
||||
}
|
||||
return h;
|
||||
return;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue