1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-12-01 20:49:44 +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); fprintf(file, "%s", c->u.s);
break; break;
case ct_var: case ct_var:
fprintf(file, "${%s", c->u.var); fprintf(file, "${%s}", c->u.var);
break; break;
case ct_sub: case ct_sub:
if (c->u.sub) if (c->u.sub)