diff options
Diffstat (limited to 'src/expr/declaration_scope.cpp')
-rw-r--r-- | src/expr/declaration_scope.cpp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/expr/declaration_scope.cpp b/src/expr/declaration_scope.cpp index 09aa3ed9f..cfcc62335 100644 --- a/src/expr/declaration_scope.cpp +++ b/src/expr/declaration_scope.cpp @@ -2,10 +2,10 @@ /*! \file declaration_scope.cpp ** \verbatim ** Original author: cconway - ** Major contributors: none - ** Minor contributors (to current version): dejan, mdeters + ** Major contributors: mdeters + ** Minor contributors (to current version): dejan ** This file is part of the CVC4 prototype. - ** Copyright (c) 2009, 2010 The Analysis of Computer Systems Group (ACSys) + ** Copyright (c) 2009, 2010, 2011 The Analysis of Computer Systems Group (ACSys) ** Courant Institute of Mathematical Sciences ** New York University ** See the file COPYING in the top-level source directory for licensing @@ -174,4 +174,8 @@ void DeclarationScope::pushScope() throw() { d_context->push(); } -} // namespace CVC4 +size_t DeclarationScope::getLevel() const throw() { + return d_context->getLevel(); +} + +}/* CVC4 namespace */ |