Commit dbcc714c authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

dbghelp: SymTagFunctionArgType's lexical parent is module, not SymTagFunctionType.

(as any other type) Signed-off-by: 's avatarEric Pouech <eric.pouech@gmail.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent f376dfd1
......@@ -294,7 +294,6 @@ struct symt_function_arg_type
{
struct symt symt;
struct symt* arg_type;
struct symt* container;
};
struct symt_pointer
......
......@@ -411,7 +411,6 @@ BOOL symt_add_function_signature_parameter(struct module* module,
if (!arg) return FALSE;
arg->symt.tag = SymTagFunctionArgType;
arg->arg_type = param;
arg->container = &sig_type->symt;
p = vector_add(&sig_type->vchildren, &module->pool);
if (!p) return FALSE; /* FIXME we leak arg */
*p = &arg->symt;
......@@ -733,11 +732,9 @@ BOOL symt_get_info(struct module* module, const struct symt* type,
case SymTagThunk:
X(DWORD) = symt_ptr2index(module, ((const struct symt_thunk*)type)->container);
break;
case SymTagFunctionArgType:
X(DWORD) = symt_ptr2index(module, ((const struct symt_function_arg_type*)type)->container);
break;
case SymTagUDT:
case SymTagEnum:
case SymTagFunctionArgType:
X(DWORD) = symt_ptr2index(module, &module->top->symt);
break;
default:
......
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