dbghelp: Return a lexical parent for enums (as we do for UDTs).

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Eric Pouech 2021-08-30 09:28:13 +02:00 committed by Alexandre Julliard
parent 62c06fc31c
commit 29fedfb5d4
1 changed files with 1 additions and 0 deletions

View File

@ -717,6 +717,7 @@ BOOL symt_get_info(struct module* module, const struct symt* type,
X(DWORD) = symt_ptr2index(module, ((const struct symt_function_arg_type*)type)->container);
break;
case SymTagUDT:
case SymTagEnum:
X(DWORD) = symt_ptr2index(module, &module->top->symt);
break;
default: