summaryrefslogtreecommitdiff
path: root/src/expr/mkmetakind
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@gmail.com>2011-02-28 07:03:33 +0000
committerMorgan Deters <mdeters@gmail.com>2011-02-28 07:03:33 +0000
commit9e164f1af5d2bd6f13eb894c8d395c7155590877 (patch)
treef5e8658db62b50b447fbc18590570501e57129d5 /src/expr/mkmetakind
parentbda6ad1b93619a68006034d9a47e641ce5ab14a7 (diff)
Review of mktheorytraits, mkrewriter, and recent changes to other mk* scripts. Minor changes only, correcting some documentation and fixing some warnings that were being issued about functions not existing.
Diffstat (limited to 'src/expr/mkmetakind')
-rwxr-xr-xsrc/expr/mkmetakind8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/expr/mkmetakind b/src/expr/mkmetakind
index 0d0ff4475..7f9037c1c 100755
--- a/src/expr/mkmetakind
+++ b/src/expr/mkmetakind
@@ -2,7 +2,7 @@
#
# mkmetakind
# Morgan Deters <mdeters@cs.nyu.edu> for CVC4
-# Copyright (c) 2010 The CVC4 Project
+# Copyright (c) 2010-2011 The CVC4 Project
#
# The purpose of this script is to create metakind.h from a template
# and a list of theory kinds.
@@ -17,7 +17,7 @@
# Output is to standard out.
#
-copyright=2010
+copyright=2010-2011
cat <<EOF
/********************* */
@@ -83,21 +83,25 @@ function theory {
function properties {
# properties prop*
lineno=${BASH_LINENO[0]}
+ check_theory_seen
}
function endtheory {
# endtheory
lineno=${BASH_LINENO[0]}
+ check_theory_seen
}
function rewriter {
# rewriter class header
lineno=${BASH_LINENO[0]}
+ check_theory_seen
}
function sort {
# sort TYPE ["comment"]
lineno=${BASH_LINENO[0]}
+ check_theory_seen
}
function variable {
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback