summaryrefslogtreecommitdiff
path: root/src/theory/mkrewriter
diff options
context:
space:
mode:
authorajreynol <andrew.j.reynolds@gmail.com>2017-04-19 16:29:01 -0500
committerajreynol <andrew.j.reynolds@gmail.com>2017-04-19 16:29:01 -0500
commitc110fa8d07b5650c671b99797c17822e757bc52f (patch)
treed405f5d124bf6686792dd30228f800aa997fed72 /src/theory/mkrewriter
parentebc103db4ac5210585525f1e9abb06b1da3c5cbf (diff)
Fix mktheoryrewriter and mktheorytraits for nullaryoperator.
Diffstat (limited to 'src/theory/mkrewriter')
-rwxr-xr-xsrc/theory/mkrewriter6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/theory/mkrewriter b/src/theory/mkrewriter
index ba623956f..ea7deb270 100755
--- a/src/theory/mkrewriter
+++ b/src/theory/mkrewriter
@@ -212,6 +212,12 @@ function constant {
check_theory_seen
}
+function nullaryoperator {
+ # nullaryoperator K ["comment"]
+ lineno=${BASH_LINENO[0]}
+ check_theory_seen
+}
+
function check_theory_seen {
if $seen_endtheory; then
echo "$kf:$lineno: error: command after \"endtheory\" declaration (endtheory has to be last)" >&2
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback