diff options
author | Morgan Deters <mdeters@gmail.com> | 2011-04-20 07:57:28 +0000 |
---|---|---|
committer | Morgan Deters <mdeters@gmail.com> | 2011-04-20 07:57:28 +0000 |
commit | ce04216289985021ce53588e3040e2ac9d6a2a0d (patch) | |
tree | a2106cad04287c5b739df99e209e3a600ebf50c5 /src/expr/node.h | |
parent | 12c1e41862e4b12c3953272416a1edc103d299ee (diff) |
Minor mixed-bag commit. Expected performance impact negligible.
* Fixed hole in arrays typechecking.
* Fixed "make dist".
* Better ouroborous test, and some printer fixes.
* Continued cleanup in CVC parser, removed some warnings.
* Better output.
Diffstat (limited to 'src/expr/node.h')
-rw-r--r-- | src/expr/node.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/expr/node.h b/src/expr/node.h index 6fe1e7d0e..a40b3fce5 100644 --- a/src/expr/node.h +++ b/src/expr/node.h @@ -80,9 +80,14 @@ public: */ NodeTemplate<true> getNode() const; - /** Returns the message corresponding to the type-checking failure */ - std::string toString() const; -}; + /** + * Returns the message corresponding to the type-checking failure. + * We prefer toStream() to toString() because that keeps the expr-depth + * and expr-language settings present in the stream. + */ + void toStream(std::ostream& out) const; + +};/* class TypeCheckingExceptionPrivate */ /** * \typedef NodeTemplate<true> Node; |