diff options
Diffstat (limited to 'src/main/driver_unified.cpp')
-rw-r--r-- | src/main/driver_unified.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/main/driver_unified.cpp b/src/main/driver_unified.cpp index ec141d13a..9488b5c6d 100644 --- a/src/main/driver_unified.cpp +++ b/src/main/driver_unified.cpp @@ -121,9 +121,9 @@ int runCvc4(int argc, char* argv[], Options& opts) { segvSpin = opts.getSegvSpin(); // If in competition mode, set output stream option to flush immediately -#ifdef CVC4_COMPETITION_MODE +#ifdef CVC5_COMPETITION_MODE *(opts.getOut()) << unitbuf; -#endif /* CVC4_COMPETITION_MODE */ +#endif /* CVC5_COMPETITION_MODE */ // We only accept one input file if(filenames.size() > 1) { @@ -260,11 +260,11 @@ int runCvc4(int argc, char* argv[], Options& opts) { opts); if( inputFromStdin ) { -#if defined(CVC4_COMPETITION_MODE) && !defined(CVC4_SMTCOMP_APPLICATION_TRACK) +#if defined(CVC5_COMPETITION_MODE) && !defined(CVC5_SMTCOMP_APPLICATION_TRACK) parserBuilder.withStreamInput(cin); -#else /* CVC4_COMPETITION_MODE && !CVC4_SMTCOMP_APPLICATION_TRACK */ +#else /* CVC5_COMPETITION_MODE && !CVC5_SMTCOMP_APPLICATION_TRACK */ parserBuilder.withLineBufferedStreamInput(cin); -#endif /* CVC4_COMPETITION_MODE && !CVC4_SMTCOMP_APPLICATION_TRACK */ +#endif /* CVC5_COMPETITION_MODE && !CVC5_SMTCOMP_APPLICATION_TRACK */ } vector< vector<Command*> > allCommands; @@ -416,11 +416,11 @@ int runCvc4(int argc, char* argv[], Options& opts) { opts); if( inputFromStdin ) { -#if defined(CVC4_COMPETITION_MODE) && !defined(CVC4_SMTCOMP_APPLICATION_TRACK) +#if defined(CVC5_COMPETITION_MODE) && !defined(CVC5_SMTCOMP_APPLICATION_TRACK) parserBuilder.withStreamInput(cin); -#else /* CVC4_COMPETITION_MODE && !CVC4_SMTCOMP_APPLICATION_TRACK */ +#else /* CVC5_COMPETITION_MODE && !CVC5_SMTCOMP_APPLICATION_TRACK */ parserBuilder.withLineBufferedStreamInput(cin); -#endif /* CVC4_COMPETITION_MODE && !CVC4_SMTCOMP_APPLICATION_TRACK */ +#endif /* CVC5_COMPETITION_MODE && !CVC5_SMTCOMP_APPLICATION_TRACK */ } std::unique_ptr<Parser> parser(parserBuilder.build()); @@ -461,26 +461,26 @@ int runCvc4(int argc, char* argv[], Options& opts) { returnValue = 1; } -#ifdef CVC4_COMPETITION_MODE +#ifdef CVC5_COMPETITION_MODE opts.flushOut(); // 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. _exit(returnValue); -#endif /* CVC4_COMPETITION_MODE */ +#endif /* CVC5_COMPETITION_MODE */ totalTime.reset(); pExecutor->flushOutputStreams(); -#ifdef CVC4_DEBUG +#ifdef CVC5_DEBUG if(opts.getEarlyExit() && opts.wasSetByUserEarlyExit()) { _exit(returnValue); } -#else /* CVC4_DEBUG */ +#else /* CVC5_DEBUG */ if(opts.getEarlyExit()) { _exit(returnValue); } -#endif /* CVC4_DEBUG */ +#endif /* CVC5_DEBUG */ } pExecutor.reset(); |