summaryrefslogtreecommitdiff
path: root/src/main/interactive_shell.h
diff options
context:
space:
mode:
authorChristopher L. Conway <christopherleeconway@gmail.com>2010-10-22 22:50:39 +0000
committerChristopher L. Conway <christopherleeconway@gmail.com>2010-10-22 22:50:39 +0000
commit3870dd8a11c1153e2db24ffe1b384b84129c2df4 (patch)
tree73524745d29dd32a160867afed4f314049211cef /src/main/interactive_shell.h
parenta486cdde94366aa6b4a1f558eecc0130ba25ad5e (diff)
Using Options in ParserBuilder and InteractiveShell
Diffstat (limited to 'src/main/interactive_shell.h')
-rw-r--r--src/main/interactive_shell.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/main/interactive_shell.h b/src/main/interactive_shell.h
index 6bd9db295..66c134ecd 100644
--- a/src/main/interactive_shell.h
+++ b/src/main/interactive_shell.h
@@ -21,6 +21,7 @@
#include <string>
#include "parser/parser_builder.h"
+#include "util/options.h"
namespace CVC4 {
@@ -34,11 +35,10 @@ class InteractiveShell {
ParserBuilder d_parserBuilder;
public:
- InteractiveShell(std::istream& in,
- std::ostream& out,
- ParserBuilder& parserBuilder) :
- d_in(in),
- d_out(out),
+ InteractiveShell(ParserBuilder& parserBuilder,
+ const Options& options) :
+ d_in(*options.in),
+ d_out(*options.out),
d_parserBuilder(parserBuilder) {
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback