echo 'ERROR: second line supposed to be set-logic, but got: "'"$line"'"' >&2
exit 1
fi
+echo success
function runcvc4 {
# we run in this way for line-buffered input, otherwise memory's a
# concern (plus it mimics what we'll end up getting from an
# application-track trace runner?)
- (echo "(set-logic $logic)"; cat) | $cvc4 -L smt2 --print-success --no-checking --no-interactive --tear-down-incremental "$@"
+ $cvc4 --force-logic="$logic" -L smt2 --print-success --no-checking --no-interactive --tear-down-incremental "$@" <&0-
}
case "$logic" in
}
#ifdef CVC4_COMPETITION_MODE
+ *opts[options::out] << flush;
// exit, don't return (don't want destructors to run)
// _exit() from unistd.h doesn't run global destructors
// or other on_exit/atexit stuff.
PARSER_STATE->checkDeclaration(id, check, type);
}
}
- | UNTERMINATED_QUOTED_SYMBOL
+ /*| UNTERMINATED_QUOTED_SYMBOL
( EOF
{ PARSER_STATE->unexpectedEOF("unterminated |quoted| symbol"); }
| '\\'
{ PARSER_STATE->unexpectedEOF("backslash not permitted in |quoted| symbol"); }
- )
+ )*/
;
/**
QUOTED_SYMBOL
: '|' ~('|' | '\\')* '|'
;
-UNTERMINATED_QUOTED_SYMBOL
+/*UNTERMINATED_QUOTED_SYMBOL
: '|' ~('|' | '\\')*
- ;
+ ;*/
/**
* Matches a keyword from the input. A keyword is a simple symbol prefixed