summaryrefslogtreecommitdiff
path: root/src/expr/mkkind
diff options
context:
space:
mode:
authorKshitij Bansal <kshitij@cs.nyu.edu>2014-05-29 20:13:52 -0400
committerKshitij Bansal <kshitij@cs.nyu.edu>2014-06-06 15:40:36 -0400
commit5c42662fe5cea3051341c8292202357e2a5e7dd3 (patch)
tree94aa636b95c7a81594a3d82f236263c91b0f6d0f /src/expr/mkkind
parent0dce010bea47bc6a318eece2bd92ed2305b64c21 (diff)
Sets translate, and other short fixes
- $ is a simple symbol is smt2. - ever found yourself counting in kind.h? no longer. - expose parser "logic is set" state for smt/smt2 (any better way?) - a more helpful assertion message in smt_engine
Diffstat (limited to 'src/expr/mkkind')
-rwxr-xr-xsrc/expr/mkkind3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/expr/mkkind b/src/expr/mkkind
index 987feafac..d54aa3a83 100755
--- a/src/expr/mkkind
+++ b/src/expr/mkkind
@@ -333,8 +333,9 @@ function register_kind {
r=$1
nc=$2
comment=$3
+ register_kind_counter=$[register_kind_counter+1]
- kind_decls="${kind_decls} $r, /**< $comment */
+ kind_decls="${kind_decls} $r, /**< $comment ($register_kind_counter) */
"
kind_printers="${kind_printers} case $r: out << \"$r\"; break;
"
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback