diff options
Diffstat (limited to 'src/parser/smt2')
-rw-r--r-- | src/parser/smt2/Smt2.g | 12 | ||||
-rw-r--r-- | src/parser/smt2/smt2.cpp | 9 | ||||
-rw-r--r-- | src/parser/smt2/smt2.h | 9 | ||||
-rw-r--r-- | src/parser/smt2/smt2_input.cpp | 9 | ||||
-rw-r--r-- | src/parser/smt2/smt2_input.h | 9 |
5 files changed, 31 insertions, 17 deletions
diff --git a/src/parser/smt2/Smt2.g b/src/parser/smt2/Smt2.g index 11ce111a6..37612901e 100644 --- a/src/parser/smt2/Smt2.g +++ b/src/parser/smt2/Smt2.g @@ -1,14 +1,17 @@ /* ******************* */ -/* Smt2.g +/*! \file Smt2.g + ** \verbatim ** Original author: cconway ** Major contributors: none - ** Minor contributors (to current version): mdeters + ** Minor contributors (to current version): mdeters, taking ** This file is part of the CVC4 prototype. ** Copyright (c) 2009, 2010 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 - ** information. + ** information.\endverbatim + ** + ** \brief Parser for SMT-LIB v2 input language. ** ** Parser for SMT-LIB v2 input language. **/ @@ -74,7 +77,6 @@ namespace CVC4 { @parser::postinclude { #include "expr/expr.h" #include "expr/kind.h" -#include "expr/metakind.h" #include "expr/type.h" #include "parser/antlr_input.h" #include "parser/parser.h" @@ -210,7 +212,7 @@ term[CVC4::Expr& expr] /* Unary AND/OR can be replaced with the argument. It just so happens expr should already by the only argument. */ Assert( expr == args[0] ); - } else if( CVC4::kind::metakind::isAssociative(kind) && + } else if( CVC4::kind::isAssociative(kind) && args.size() > EXPR_MANAGER->maxArity(kind) ) { /* Special treatment for associative operators with lots of children */ expr = EXPR_MANAGER->mkAssociative(kind,args); diff --git a/src/parser/smt2/smt2.cpp b/src/parser/smt2/smt2.cpp index 5cf902260..2776bff7e 100644 --- a/src/parser/smt2/smt2.cpp +++ b/src/parser/smt2/smt2.cpp @@ -1,14 +1,17 @@ /********************* */ -/** smt2.h +/*! \file smt2.cpp + ** \verbatim ** Original author: cconway - ** Major contributors: + ** Major contributors: none ** Minor contributors (to current version): none ** This file is part of the CVC4 prototype. ** Copyright (c) 2009, 2010 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 - ** information. + ** information.\endverbatim + ** + ** \brief Definitions of SMT2 constants. ** ** Definitions of SMT2 constants. **/ diff --git a/src/parser/smt2/smt2.h b/src/parser/smt2/smt2.h index 0e057db68..b54fe82e9 100644 --- a/src/parser/smt2/smt2.h +++ b/src/parser/smt2/smt2.h @@ -1,14 +1,17 @@ /********************* */ -/** smt2.h +/*! \file smt2.h + ** \verbatim ** Original author: cconway - ** Major contributors: + ** Major contributors: none ** Minor contributors (to current version): none ** This file is part of the CVC4 prototype. ** Copyright (c) 2009, 2010 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 - ** information. + ** information.\endverbatim + ** + ** \brief Definitions of SMT2 constants. ** ** Definitions of SMT2 constants. **/ diff --git a/src/parser/smt2/smt2_input.cpp b/src/parser/smt2/smt2_input.cpp index 5150ba010..829d6a5f8 100644 --- a/src/parser/smt2/smt2_input.cpp +++ b/src/parser/smt2/smt2_input.cpp @@ -1,14 +1,17 @@ /********************* */ -/** smt2_input.cpp +/*! \file smt2_input.cpp + ** \verbatim ** Original author: cconway ** Major contributors: none - ** Minor contributors (to current version): mdeters + ** Minor contributors (to current version): none ** This file is part of the CVC4 prototype. ** Copyright (c) 2009, 2010 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 - ** information. + ** information.\endverbatim + ** + ** \brief [[ Add file-specific comments here ]]. ** ** [[ Add file-specific comments here ]] **/ diff --git a/src/parser/smt2/smt2_input.h b/src/parser/smt2/smt2_input.h index 962e2a987..1fa8cff1c 100644 --- a/src/parser/smt2/smt2_input.h +++ b/src/parser/smt2/smt2_input.h @@ -1,14 +1,17 @@ /********************* */ -/** smt2_input.h +/*! \file smt2_input.h + ** \verbatim ** Original author: cconway - ** Major contributors: mdeters + ** Major contributors: none ** Minor contributors (to current version): none ** This file is part of the CVC4 prototype. ** Copyright (c) 2009, 2010 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 - ** information. + ** information.\endverbatim + ** + ** \brief [[ Add file-specific comments here ]]. ** ** [[ Add file-specific comments here ]] **/ |