Eric Pouech : dbghelp: Return a lexical parent for enums (as we do for UDTs).
Alexandre Julliard
julliard at winehq.org
Mon Aug 30 15:53:52 CDT 2021
Module: wine
Branch: master
Commit: 29fedfb5d401a6f76cfb70bd17d74d27d61a26c7
URL: https://source.winehq.org/git/wine.git/?a=commit;h=29fedfb5d401a6f76cfb70bd17d74d27d61a26c7
Author: Eric Pouech <eric.pouech at gmail.com>
Date: Mon Aug 30 09:28:13 2021 +0200
dbghelp: Return a lexical parent for enums (as we do for UDTs).
Signed-off-by: Eric Pouech <eric.pouech at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
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-cvs
mailing list