Commit 5e74bf79 authored by Matthias Braun's avatar Matthias Braun
Browse files

pass op to custom init_attr function

[r15805]
parent 8944a722
......@@ -508,7 +508,7 @@ foreach my $op (keys(%nodes)) {
}
$temp .= "${attr_init_code}\n";
if(defined($custom_init_attr_func)) {
$temp .= &$custom_init_attr_func(\%n);
$temp .= &$custom_init_attr_func(\%n, $op);
}
$temp .= "\n";
......
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