Struct variable named as struct is not indexed correctly.
Jacek Migacz <[email protected]>
| Newsgroups | gmane.comp.gnu.global.bugs |
|---|---|
| Message-ID | <CANjh=C-_MfunrotFVRYXZrwGRE_GYh4s7C8xghm5xee7FByuTw@mail.gmail.com> |
I've observed undesired behavior with variable named exactly as it's type
(w/o struct keyword).
For given source:
struct foo
{
int n;
};
struct foo foo;
struct foo foobar;
global -s foo
^ returns nothing
global -s foobar
^ returns correct location
I'm using global-6.5.1(1.fc23).
--
Jacek Migacz
_______________________________________________
Bug-global mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-global