mirror of
https://github.com/Z3Prover/z3
synced 2025-04-27 10:55:50 +00:00
make :weight understand both decimal and integral values, remove dweight, remove deprecated commands for optimization
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
94d83b7be9
commit
655b44c07b
4 changed files with 90 additions and 87 deletions
|
@ -387,6 +387,7 @@ namespace smt2 {
|
|||
void check_keyword(char const * msg) { if (!curr_is_keyword()) throw parser_exception(msg); }
|
||||
void check_string(char const * msg) { if (!curr_is_string()) throw parser_exception(msg); }
|
||||
void check_int(char const * msg) { if (!curr_is_int()) throw parser_exception(msg); }
|
||||
void check_int_or_float(char const * msg) { if (!curr_is_int() || !curr_is_float()) throw parser_exception(msg); }
|
||||
void check_float(char const * msg) { if (!curr_is_float()) throw parser_exception(msg); }
|
||||
|
||||
void error(unsigned line, unsigned pos, char const * msg) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue