1
0
mirror of git://projects.qi-hardware.com/fped.git synced 2024-11-22 13:51:53 +02:00

- dump.c didn't complete vector names used in measurements, causing them to be

lost and producing an invalid fpd file



git-svn-id: http://svn.openmoko.org/trunk/eda/fped@5455 99fdad57-331a-0410-800a-d7fa5415bdb3
This commit is contained in:
werner 2009-08-15 22:06:51 +00:00
parent ef58598695
commit b79c252d17

10
dump.c
View File

@ -355,10 +355,14 @@ static const char *meas_type_name[mt_n] = {
static char *print_meas_base(struct vec *base)
{
char *name, *res;
name = base_name(base, NULL);
if (base->frame == root_frame)
return stralloc_printf("%s", base->name);
else
return stralloc_printf("%s.%s", base->frame->name, base->name);
return name;
res = stralloc_printf("%s.%s", base->frame->name, name);
free(name);
return res;
}