diff options
author | ajreynol <andrew.j.reynolds@gmail.com> | 2017-04-12 16:47:12 -0500 |
---|---|---|
committer | ajreynol <andrew.j.reynolds@gmail.com> | 2017-04-12 16:47:12 -0500 |
commit | 75db964b0c56f1a3b04b77c33d226c4d9cd0ca54 (patch) | |
tree | c30f7f17ae963e3f51cef111b2d549eacff1a852 /src/expr/mkmetakind | |
parent | e6e02c32c58f9e5edde2dd85fc7b19ef001eea03 (diff) |
Add nullary operator metakind.
Diffstat (limited to 'src/expr/mkmetakind')
-rwxr-xr-x | src/expr/mkmetakind | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/expr/mkmetakind b/src/expr/mkmetakind index 3e06a88a5..19e6e2244 100755 --- a/src/expr/mkmetakind +++ b/src/expr/mkmetakind @@ -302,6 +302,15 @@ struct ConstantMapReverse< ::CVC4::kind::$1 > { " } +function nullaryoperator { + # nullaryoperator K ["comment"] + + lineno=${BASH_LINENO[0]} + + check_theory_seen + register_metakind NULLARY_OPERATOR "$1" 0 +} + function registerOperatorToKind { operatorKind=$1 applyKind=$2 |