I have fixed the problem,
but not uploaded the patch yet patch uploaded, as I'm facing a new problem.
struct HiddenStruct {
int myval;
struct {
int value;
} bb;
};
struct HiddenStruct yy;
struct MyOtherStruct {
int val;
} bb, cc;
It adds 'bb' as a variable of type 'Unnamed-Struct-xxx' with 'HiddenStruct' as a parent.
Then, it adds 'bb' as a variable of type 'MyOtherStruct' with no parent.
And in the symbols browser, 'bb' doesn't show up in the variables. And in 'HiddenStruct', it shows 'bb' as 'MyOtherStruct' instead of 'Unnamed-Struct-xxx'.
If anyone could check this out, it would be appreciated.
Also, I don't really know why, but even if 'cc' is added (so it says in the log), it doesn't appear in the symbols browser.
When I initially load the file (or call a re-parse), it does appear, but when I save the file and the tree is updated, it disappears.
-- Wolf --
yy.bb. // shows val instead of value