[PATCH 10/11] dbghelp: return a lexical parent for enums (as we do for UDT:s)
Eric Pouech
eric.pouech at gmail.com
Mon Aug 30 02:28:13 CDT 2021
Signed-off-by: Eric Pouech <eric.pouech at gmail.com>
---
dlls/dbghelp/type.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/dbghelp/type.c b/dlls/dbghelp/type.c
index 08fa8bad95e..0fa3b669467 100644
--- a/dlls/dbghelp/type.c
+++ b/dlls/dbghelp/type.c
@@ -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:
More information about the wine-devel
mailing list