Fix for pointers and arrays in function attributes

In previous version, attribute in function like *attr[10] ve taken as whole name of attribute, now is stripped to attr

Karel Kubicek, 408351, <408351@mail.muni.cz>