Commit 6dfaf36a authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Minor polishing



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@5032 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent d2ee8d31
......@@ -45,7 +45,7 @@ SVNID("$Id$")
/*--------------------------------------------------------------------*/
static void vcc_Compound(struct vcc *tl);
static void vcc_Cond_0(struct vcc *tl);
static void vcc_Conditional(struct vcc *tl);
/*--------------------------------------------------------------------*/
......@@ -381,19 +381,15 @@ vcc_Cond_2(struct vcc *tl)
C(tl, ",");
if (tl->t->tok == '!') {
Fb(tl, 1, "!(\n");
Fb(tl, 1, "!");
vcc_NextToken(tl);
} else {
Fb(tl, 1, "(\n");
}
if (tl->t->tok == '(') {
vcc_NextToken(tl);
vcc_Cond_0(tl);
SkipToken(tl, ')');
Fb(tl, 1, ")\n");
vcc_Conditional(tl);
return;
}
if (tl->t->tok == ID) {
Fb(tl, 1, "(\n");
vcc_Cond_3(tl);
Fb(tl, 1, ")\n");
return;
......@@ -418,6 +414,7 @@ vcc_Cond_1(struct vcc *tl)
vcc_NextToken(tl);
Fb(tl, 1, ") && (\n");
L(tl, vcc_Cond_2(tl));
ERRCHK(tl);
}
Fb(tl, 1, ")\n");
}
......@@ -432,6 +429,7 @@ vcc_Cond_0(struct vcc *tl)
vcc_NextToken(tl);
Fb(tl, 1, ") || (\n");
L(tl, vcc_Cond_1(tl));
ERRCHK(tl);
}
Fb(tl, 1, ")\n");
}
......
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