From e4df3eed5b16b151b29cc086ad25151e47bad66a Mon Sep 17 00:00:00 2001 From: phk Date: Tue, 8 Jan 2008 14:16:38 +0000 Subject: [PATCH] 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 --- varnish-cache/lib/libvcl/vcc_parse.c | 5 +++++ 1 file changed, 5 insertions(+) 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: -- 2.39.5