mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 18:50:07 +00:00
dbghelp: Member's lexical parent is module (not parent UDT).
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
This commit is contained in:
parent
a5c6cd5aef
commit
9cb69964d6
|
@ -321,7 +321,7 @@ BOOL symt_add_udt_element(struct module* module, struct symt_udt* udt_type,
|
|||
m->hash_elt.next = NULL;
|
||||
|
||||
m->kind = DataIsMember;
|
||||
m->container = &udt_type->symt;
|
||||
m->container = &module->top->symt; /* native defines lexical parent as module, not udt... */
|
||||
m->type = elt_type;
|
||||
m->u.member.offset = offset;
|
||||
m->u.member.bit_offset = bit_offset;
|
||||
|
|
Loading…
Reference in a new issue