| MINUS_TOK { $kind = CVC4::kind::MINUS; }
| STAR_TOK { $kind = CVC4::kind::MULT; }
| DIV_TOK { $kind = CVC4::kind::DIVISION; }
- | INTS_DIV_TOK { $kind = CVC4::kind::INTS_DIVISION; }
- | INTS_MOD_TOK { $kind = CVC4::kind::INTS_MODULUS; }
- | ABS_TOK { $kind = CVC4::kind::ABS; }
| BV2NAT_TOK { $kind = CVC4::kind::BITVECTOR_TO_NAT;
if(PARSER_STATE->strictModeEnabled()) {
XOR_TOK : 'xor';
-INTS_DIV_TOK : 'div';
-INTS_MOD_TOK : 'mod';
-ABS_TOK : 'abs';
-
DIVISIBLE_TOK : 'divisible';
// CONCAT_TOK : 'concat';
case THEORY_INTS:
defineType("Int", getExprManager()->integerType());
addArithmeticOperators();
- Parser::addOperator(kind::INTS_DIVISION);
- Parser::addOperator(kind::INTS_MODULUS);
- Parser::addOperator(kind::ABS);
+ addOperator(kind::INTS_DIVISION, "div");
+ addOperator(kind::INTS_MODULUS, "mod");
+ addOperator(kind::ABS, "abs");
Parser::addOperator(kind::DIVISIBLE);
break;