delete $1;
delete $3;
}
- // | Expr IMPLIES_TOK Expr
- // {
- // $$ = new CVC3::Expr(VC->listExpr("_IMPLIES", *$1, *$3));
- // delete $1;
- // delete $3;
- // }
- // | Expr IFF_TOK Expr
- // {
- // $$ = new CVC3::Expr(VC->listExpr("_IFF", *$1, *$3));
- // delete $1;
- // delete $3;
- // }
-;
+ | Expr IMPLIES_TOK Expr {
+ $$ = new Expr(EM->mkExpr(IMPLIES, *$1, *$3));
+ delete $1;
+ delete $3;
+ }
+ | Expr IFF_TOK Expr {
+ $$ = new Expr(EM->mkExpr(IFF, *$1, *$3));
+ delete $1;
+ delete $3;
+ }
+ | NOT_TOK Expr {
+ $$ = new Expr(EM->mkExpr(NOT, *$2));
+ delete $2;
+ } ;
// Identifier: