Basic problem:

   (!foo ~ "bar")

no longer works in trunk. It used to mean the same thing as:

   (!(foo ~ "bar"))

or

   (foo !~ "bar")

However, this might not be in line with general operator precedence. It
might be more natural - all though perhaps less practical - to have it
mean:

   ((!foo) ~ "bar")

Obviously, that specific example yields code that doesn't actually make
sense. But it's more consistent with what I'd expect.

Slink also pointed out that it might make sense to have a clearly defined
operator precedence list.

My suggestion is: Make sure (!foo ~ "bar") works as it used to in 2.1, but
we should consider either disallowing it (like trunk does right now), or
changing the meaning.

Input?

- Kristian

Attachment: signature.asc
Description: Digital signature

_______________________________________________
varnish-dev mailing list
[email protected]
http://lists.varnish-cache.org/mailman/listinfo/varnish-dev

Reply via email to