Commit 54864828 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Polish

parent 4fdcdcaf
......@@ -371,8 +371,10 @@ EmitInitFini(const struct vcc *tl)
VTAILQ_FOREACH_REVERSE(p, &tl->inifin, inifinhead, list) {
if (VSB_len(p->event)) {
Fc(tl, 0, "\t/* %u */\n", p->n);
Fc(tl, 0, "\tif (vgc_warmupstep >= %u &&\n", p->n);
Fc(tl, 0, "\t %s != 0)\n", VSB_data(p->event));
Fc(tl, 0,
"\tif (vgc_warmupstep >= %u &&\n", p->n);
Fc(tl, 0,
"\t %s != 0)\n", VSB_data(p->event));
Fc(tl, 0, "\t\tretval = 1;\n\n");
}
VSB_destroy(&p->event);
......
......@@ -331,6 +331,7 @@ vcc_Parse(struct vcc *tl)
struct toplev *tp;
struct token *tok;
AZ(tl->indent);
if (tl->t->tok != ID || !vcc_IdIs(tl->t, "vcl")) {
VSB_printf(tl->sb,
"VCL version declaration missing\n"
......@@ -395,4 +396,5 @@ vcc_Parse(struct vcc *tl)
return;
}
}
AZ(tl->indent);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment