X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=types%2Fstruct.c;fp=types%2Fstruct.c;h=6012447bc2a678194aa4ba5dc8a278ea3e58073e;hp=1a2b59d51e26e9cbb319f313aac798dba2bd0d51;hb=312623540c466defab45503fbe0ce7ec79dcce85;hpb=b1a2f5806630289aa0b85edbb7f7c581cfa26178 diff --git a/types/struct.c b/types/struct.c index 1a2b59d5..6012447b 100644 --- a/types/struct.c +++ b/types/struct.c @@ -109,6 +109,7 @@ struct definition * _struct->p.ref = 1; _struct->p.index = index; _struct->p.name = field_name; + _struct->p.path = new_definition_path(parent_scope, field_name); _struct->scope = new_definition_scope(parent_scope, field_name); _struct->fields = g_ptr_array_sized_new(DEFAULT_NR_STRUCT_FIELDS); g_ptr_array_set_size(_struct->fields, struct_declaration->fields->len);