1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-11-26 01:32:48 +02:00

b2/subst.c (dump_chunks): closing } was missing when dumping variable expansion

This commit is contained in:
Werner Almesberger 2012-06-02 23:09:47 -03:00
parent e919b16d78
commit cae92bba03

View File

@ -402,7 +402,7 @@ static void dump_chunks(FILE *file, const struct chunk *c)
fprintf(file, "%s", c->u.s);
break;
case ct_var:
fprintf(file, "${%s", c->u.var);
fprintf(file, "${%s}", c->u.var);
break;
case ct_sub:
if (c->u.sub)