Commit 51bffa13 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Mark boolean constants as such.



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@5537 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent a882fa12
......@@ -442,8 +442,9 @@ static void
vcc_Eval_BoolConst(struct vcc *tl, struct expr **e, const struct symbol *sym)
{
*e = vcc_mk_expr(BOOL, "(0==%d)", sym->eval_priv == NULL ? 1 : 0);
vcc_NextToken(tl);
*e = vcc_mk_expr(BOOL, "(0==%d)", sym->eval_priv == NULL ? 1 : 0);
(*e)->constant = 1;
}
/*--------------------------------------------------------------------
......
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