X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=types%2Ffloat.c;h=5ce6bb43628cfa907c32228be83c03696de8d30a;hp=a5917beb14a44a5fc826adcf1ed5d303b2fc0144;hb=312623540c466defab45503fbe0ce7ec79dcce85;hpb=d11e9c4975d88591e2324b6b11f426a22995833f diff --git a/types/float.c b/types/float.c index a5917beb..5ce6bb43 100644 --- a/types/float.c +++ b/types/float.c @@ -18,6 +18,7 @@ #include #include +#include static struct definition *_float_definition_new(struct declaration *declaration, @@ -102,6 +103,8 @@ struct definition * } _float->p.ref = 1; _float->p.index = index; + _float->p.name = field_name; + _float->p.path = new_definition_path(parent_scope, field_name); _float->value = 0.0; return &_float->p; }