summaryrefslogtreecommitdiff
path: root/examples/nra-translate/smt2todreal.cpp
diff options
context:
space:
mode:
authorTim King <taking@google.com>2015-12-30 11:45:37 -0800
committerTim King <taking@google.com>2015-12-30 11:45:37 -0800
commitfa7f30a4ba08afe066604daee87006b4fb5f21f7 (patch)
tree6eecac7cce64fa00f4ac5c18f023f1bc234435a3 /examples/nra-translate/smt2todreal.cpp
parent1ce397129214a427a10ff3e33069e315fe13eec1 (diff)
Shuffling around public vs. private headers
- Adding a script contrib/test_install_headers.h that tests whether one can include all cvc4_public headers. CVC4 can pass this test after this commit. - Making lib/{clock_gettime.h,ffs.h,strtok_r.h} cvc4_private. - Making prop/sat_solver_factory.h cvc4_private. - Moving the expr iostream manipulators into their own files: expr_iomanip.{h,cpp}. - Setting the generated *_options.h files back to being cvc4_private. -- Removing the usage of options/expr_options.h from expr.h. -- Removing the include of base_options.h from options.h. - Cleaning up CPP macros in cvc4_public headers. -- Changing the ROLL macro in floatingpoint.h into an inline function. -- Removing the now unused flag -D__BUILDING_STATISTICS_FOR_EXPORT.
Diffstat (limited to 'examples/nra-translate/smt2todreal.cpp')
-rw-r--r--examples/nra-translate/smt2todreal.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/nra-translate/smt2todreal.cpp b/examples/nra-translate/smt2todreal.cpp
index 97c5c5d04..56f323812 100644
--- a/examples/nra-translate/smt2todreal.cpp
+++ b/examples/nra-translate/smt2todreal.cpp
@@ -23,6 +23,8 @@
#include <vector>
#include "expr/expr.h"
+#include "expr/expr_iomanip.h"
+#include "options/base_options.h"
#include "options/options.h"
#include "parser/parser.h"
#include "parser/parser_builder.h"
@@ -46,7 +48,7 @@ int main(int argc, char* argv[])
options.set(outputLanguage, language::output::LANG_SMTLIB_V2);
ExprManager exprManager(options);
- cout << Expr::dag(0) << Expr::setdepth(-1);
+ cout << expr::ExprDag(0) << expr::ExprSetDepth(-1);
// Create the parser
ParserBuilder parserBuilder(&exprManager, input, options);
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback