Commit 4f950f08 authored by Christoph Mallon's avatar Christoph Mallon
Browse files

be: Add the ability to specify a template for each specified node.

parent 7bbb5c9d
......@@ -448,6 +448,14 @@ foreach my $op (sort(keys(%nodes))) {
my $out_arity;
my @out_flags;
if (my $template = $n{"template"}) {
foreach my $key (keys(%$template)) {
if (!exists $n{$key}) {
$n{$key} = $template->{$key};
}
}
}
# determine arity
$arity = 0;
if(exists($n{"arity"})) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment