Skip to content

Commit

Permalink
Removed deprecated attributes extend* at owner
Browse files Browse the repository at this point in the history
'extend_only', 'extend_unbounded', 'extend'
  • Loading branch information
hknutzen committed Nov 15, 2016
1 parent 9eb6c27 commit 7e3e65f
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions lib/Netspoc/Compiler/Pass1.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3282,24 +3282,6 @@ sub read_owner {
my $watchers = read_assign_list(\&read_name);
add_attribute($owner, watchers => $watchers);
}
elsif ($token eq 'extend_only') {
skip(';');
$owner->{only_watch} = 1;
warn_msg("'$token' is deprecated in $name.\n",
" Use attribute 'only_watch' instead.");
}
elsif ($token eq 'extend_unbounded') {
skip(';');
warn_msg("'$token' is deprecated in $name.\n",
" This attribute should be removed.");
}
elsif ($token eq 'extend') {
skip(';');
warn_msg("Ignoring deprecated '$token' in $name.\n",
" This is default now.\n",
" Use attribute 'hide_inner_owners' to revert",
" to previous behaviour.");
}
elsif ($token eq 'show_all') {
skip(';');
$owner->{show_all} = 1;
Expand Down

0 comments on commit 7e3e65f

Please sign in to comment.