From 70a4ae1e6a7dae928e2ec83bd190b9b81e11bf02 Mon Sep 17 00:00:00 2001 From: Morgan Deters Date: Thu, 4 Feb 2010 03:47:41 +0000 Subject: [PATCH] minor cleanup; give the main driver a different exit code for SAT-INVALID/UNSAT-VALID --- src/expr/kind_epilogue.h | 3 ++- src/expr/kind_middle.h | 3 ++- src/expr/kind_prologue.h | 2 +- src/expr/mkkind | 1 - src/main/main.cpp | 14 ++++++++++++-- src/util/result.h | 8 ++++++-- 6 files changed, 23 insertions(+), 8 deletions(-) diff --git a/src/expr/kind_epilogue.h b/src/expr/kind_epilogue.h index 0db7038d8..06f92261b 100644 --- a/src/expr/kind_epilogue.h +++ b/src/expr/kind_epilogue.h @@ -10,7 +10,8 @@ ** See the file COPYING in the top-level source directory for licensing ** information. ** - ** Kinds of Nodes. + ** Epilogue for the Node kind header. This file finishes off the + ** pretty-printing function for the Kind enum. **/ case LAST_KIND: out << "LAST_KIND"; break; diff --git a/src/expr/kind_middle.h b/src/expr/kind_middle.h index 6c352c3c9..7dee40853 100644 --- a/src/expr/kind_middle.h +++ b/src/expr/kind_middle.h @@ -10,7 +10,8 @@ ** See the file COPYING in the top-level source directory for licensing ** information. ** - ** Kinds of Nodes. + ** Middle section of the Node kind header. This file finishes off the + ** Kind enum and starts the pretty-printing function definition. **/ LAST_KIND diff --git a/src/expr/kind_prologue.h b/src/expr/kind_prologue.h index cf9d2e3be..bdc0ff599 100644 --- a/src/expr/kind_prologue.h +++ b/src/expr/kind_prologue.h @@ -10,7 +10,7 @@ ** See the file COPYING in the top-level source directory for licensing ** information. ** - ** Kinds of Nodes. + ** Prologue of the Node kind header. This file starts the Kind enumeration. **/ #ifndef __CVC4__KIND_H diff --git a/src/expr/mkkind b/src/expr/mkkind index c8ad61571..b0a8f4565 100755 --- a/src/expr/mkkind +++ b/src/expr/mkkind @@ -24,7 +24,6 @@ cat <