From: phk Date: Tue, 8 Jan 2008 14:16:38 +0000 (+0000) Subject: Make inlining C with C{ ... }C legal at the toplevel (in addition to X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e4df3eed5b16b151b29cc086ad25151e47bad66a;p=varnish Make inlining C with C{ ... }C legal at the toplevel (in addition to in compounds). git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2336 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/lib/libvcl/vcc_parse.c b/varnish-cache/lib/libvcl/vcc_parse.c index aefc2ff3..4e8b2ff9 100644 --- a/varnish-cache/lib/libvcl/vcc_parse.c +++ b/varnish-cache/lib/libvcl/vcc_parse.c @@ -551,6 +551,11 @@ vcc_Parse(struct tokenlist *tl) case T_BACKEND_ROUND_ROBIN: vcc_ParseBalancedBackend(tl); break; + case CSRC: + Fc(tl, 0, "%.*s\n", + tl->t->e - (tl->t->b + 4), tl->t->b + 2); + vcc_NextToken(tl); + break; case EOI: break; default: