]> err.no Git - varnish/commitdiff
Make inlining C with C{ ... }C legal at the toplevel (in addition to
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Tue, 8 Jan 2008 14:16:38 +0000 (14:16 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Tue, 8 Jan 2008 14:16:38 +0000 (14:16 +0000)
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

index aefc2ff3cfab6727b496f5643b8b8061cd925bef..4e8b2ff9efd5ce548827956b028d8603c1b76829 100644 (file)
@@ -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: