mirror of
https://github.com/Z3Prover/z3
synced 2025-06-06 22:23:22 +00:00
replace assert by SASSERT in case of unsupported proof rule
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
2f08040403
commit
e63724a22d
2 changed files with 2 additions and 3 deletions
|
@ -26,7 +26,6 @@
|
||||||
#pragma warning(disable:4101)
|
#pragma warning(disable:4101)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <assert.h>
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
|
|
|
@ -2024,7 +2024,7 @@ public:
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
pfgoto(proof);
|
pfgoto(proof);
|
||||||
assert(0 && "translate_main: unsupported proof rule");
|
SASSERT(0 && "translate_main: unsupported proof rule");
|
||||||
throw unsupported();
|
throw unsupported();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue