summaryrefslogtreecommitdiff
path: root/src/expr/mkkind
diff options
context:
space:
mode:
authorDejan Jovanović <dejan.jovanovic@gmail.com>2010-04-29 23:42:41 +0000
committerDejan Jovanović <dejan.jovanovic@gmail.com>2010-04-29 23:42:41 +0000
commit349131957e91150c24a9c69f5e1f04e34494b0c6 (patch)
tree8012c2475dde1f1177f693643fb1a07e89c29538 /src/expr/mkkind
parentac8b46fe3b5256e387da724b7c3abfb59d25531e (diff)
Added the capability to construct expressions by passing the operator instead of the kind, i.e.
Expr op = ..."f"... em.mkExpr(op, children); Operator kinds are automatically associated with the enclosing expression kind in the DSL and generated.
Diffstat (limited to 'src/expr/mkkind')
-rwxr-xr-xsrc/expr/mkkind4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/expr/mkkind b/src/expr/mkkind
index 294dc5d7e..d9c64b660 100755
--- a/src/expr/mkkind
+++ b/src/expr/mkkind
@@ -93,12 +93,12 @@ function nonatomic_operator {
}
function parameterized {
- # parameterized K #children ["comment"]
+ # parameterized K1 K2 #children ["comment"]
lineno=${BASH_LINENO[0]}
check_theory_seen
- register_kind "$1" "$2" "$3"
+ register_kind "$1" "$3" "$4"
}
function constant {
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback