]> err.no Git - varnish/commitdiff
Note an idea
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Tue, 8 Jul 2008 09:48:05 +0000 (09:48 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Tue, 8 Jul 2008 09:48:05 +0000 (09:48 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2904 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/lib/libvcl/vcc_backend.c

index 4c30324aa45c288309fa6d186fa2d43b77be7e43..240f76d7986b0b2ea6e2950e93a33c9ba9b07d9a 100644 (file)
@@ -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 {