r2336 - trunk/varnish-cache/lib/libvcl

phk at projects.linpro.no phk at projects.linpro.no
Tue Jan 8 15:16:38 CET 2008


Author: phk
Date: 2008-01-08 15:16:38 +0100 (Tue, 08 Jan 2008)
New Revision: 2336

Modified:
   trunk/varnish-cache/lib/libvcl/vcc_parse.c
Log:
Make inlining C with C{ ... }C legal at the toplevel (in addition to
in compounds).


Modified: trunk/varnish-cache/lib/libvcl/vcc_parse.c
===================================================================
--- trunk/varnish-cache/lib/libvcl/vcc_parse.c	2008-01-08 10:58:04 UTC (rev 2335)
+++ trunk/varnish-cache/lib/libvcl/vcc_parse.c	2008-01-08 14:16:38 UTC (rev 2336)
@@ -551,6 +551,11 @@
 		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:




More information about the varnish-commit mailing list