X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=types%2Fstring.c;h=0f261f418b1bd2a766dcba83bd2bd0e8d8ce1f4a;hb=596dd032fb31985bd7856efcd6ee3dc133479cec;hp=a83a1541bb89a8f3ac1ef2149e5d9c0fbcd7281b;hpb=d11e9c4975d88591e2324b6b11f426a22995833f;p=babeltrace.git diff --git a/types/string.c b/types/string.c index a83a1541..0f261f41 100644 --- a/types/string.c +++ b/types/string.c @@ -67,6 +67,8 @@ struct definition * string->declaration = string_declaration; string->p.ref = 1; string->p.index = index; + string->p.name = field_name; + string->p.path = new_definition_path(parent_scope, field_name); string->value = NULL; string->len = 0; string->alloc_len = 0;