diff options
Diffstat (limited to 'src/expr/kind_middle.h')
-rw-r--r-- | src/expr/kind_middle.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/expr/kind_middle.h b/src/expr/kind_middle.h index 49e43ba68..a4ba5a92b 100644 --- a/src/expr/kind_middle.h +++ b/src/expr/kind_middle.h @@ -16,11 +16,17 @@ LAST_KIND -};/* enum Kind */ +};/* enum Kind_t */ + +}/* CVC4::kind namespace */ + +// import Kind into the "CVC4" namespace but keep the individual kind +// constants under kind:: +typedef ::CVC4::kind::Kind_t Kind; inline std::ostream& operator<<(std::ostream&, CVC4::Kind) CVC4_PUBLIC; inline std::ostream& operator<<(std::ostream& out, CVC4::Kind k) { - using namespace CVC4; + using namespace CVC4::kind; switch(k) { |