$item->{is_signature} = 0;
$item->{shift_count_min} = $shift_count;
$item->{shift_count_max} = $shift_count;
- $item->{self_name} = $self_name;
$self->count_list_args($item);
return;
}
if ( $rLL->[$K_mm]->[_TYPE_] eq 'i' ) {
my $token_mm = $rLL->[$K_mm]->[_TOKEN_];
$self_name = $token_mm;
+
+ # we store self_name immediately because it will
+ # be needed even if we cannot get an arg count
+ $item->{self_name} = $self_name;
}
}
}
{
$item->{shift_count_min} = $shift_count;
$item->{shift_count_max} = $shift_count;
- $item->{self_name} = $self_name;
}
return;
}
if ( !$saw_pop_at_underscore ) {
$item->{shift_count_min} = $shift_count;
$item->{shift_count_max} = $shift_count;
- $item->{self_name} = $self_name;
}
return;