| QUERY_TOK formula[f] { cmd = new QueryCommand(f); }
| CHECKSAT_TOK formula[f] { cmd = new CheckSatCommand(f); }
- | CHECKSAT_TOK { cmd = new CheckSatCommand(MK_CONST(true)); }
+ | CHECKSAT_TOK { cmd = new CheckSatCommand(MK_CONST(bool(true))); }
/* options */
| OPTION_TOK
}
/* boolean literals */
- | TRUE_TOK { f = MK_CONST(true); }
- | FALSE_TOK { f = MK_CONST(false); }
+ | TRUE_TOK { f = MK_CONST(bool(true)); }
+ | FALSE_TOK { f = MK_CONST(bool(false)); }
/* arithmetic literals */
/* syntactic predicate: never match INTEGER.DIGIT as an integer and a dot!
* This is a rational constant! Otherwise the parser interprets it as a tuple
{ PARSER_STATE->popScope(); }
/* constants */
- | TRUE_TOK { expr = MK_CONST(true); }
- | FALSE_TOK { expr = MK_CONST(false); }
+ | TRUE_TOK { expr = MK_CONST(bool(true)); }
+ | FALSE_TOK { expr = MK_CONST(bool(false)); }
| NUMERAL_TOK
{ expr = MK_CONST( AntlrInput::tokenToInteger($NUMERAL_TOK) ); }
| RATIONAL_TOK
{ cmd = new AssertCommand(expr); }
| /* checksat */
CHECKSAT_TOK
- { cmd = new CheckSatCommand(MK_CONST(true)); }
+ { cmd = new CheckSatCommand(MK_CONST(bool(true))); }
| /* get-assertions */
GET_ASSERTIONS_TOK
{ cmd = new GetAssertionsCommand; }