From: phk Date: Tue, 8 Jul 2008 09:48:05 +0000 (+0000) Subject: Note an idea X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=09cf3ff3c46f5026d56c89b0deb55640df9c515d;p=varnish Note an idea git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2904 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/lib/libvcl/vcc_backend.c b/varnish-cache/lib/libvcl/vcc_backend.c index 4c30324a..240f76d7 100644 --- a/varnish-cache/lib/libvcl/vcc_backend.c +++ b/varnish-cache/lib/libvcl/vcc_backend.c @@ -124,6 +124,12 @@ vcc_EmitBeIdent(struct vsb *v, const struct token *name, const struct token *qua /*-------------------------------------------------------------------- * Helper functions to complain about duplicate and missing fields + * + * XXX: idea: add groups to check for exclusivity, such that + * XXX: ("!foo", "?bar", "!{", "this", "that", "}", NULL) + * XXX: means exactly one of "this" or "that", and + * XXX: ("!foo", "?bar", "?{", "this", "that", "}", NULL) + * XXX: means at most one of "this" or "that". */ struct fld_spec {