Commit 5c8c999b authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

dbghelp: Return the symt_module when requesting lexical parent of a UDT.

parent 2325962e
......@@ -708,6 +708,9 @@ BOOL symt_get_info(struct module* module, const struct symt* type,
case SymTagFunctionArgType:
X(DWORD) = symt_ptr2index(module, ((const struct symt_function_arg_type*)type)->container);
break;
case SymTagUDT:
X(DWORD) = symt_ptr2index(module, &module->top->symt);
break;
default:
FIXME("Unsupported sym-tag %s for get-lexical-parent\n",
symt_get_tag_str(type->tag));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment