]> err.no Git - varnish/commit
Make the VCL compiler complain about attempts to access variables outside
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 25 Jun 2007 08:17:25 +0000 (08:17 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 25 Jun 2007 08:17:25 +0000 (08:17 +0000)
commit57fa7ce2705aea02111addbf477631cd0ea253f1
treee0166d254d16bf8a5f8954abf0090f7210883577
parent32e8b9e6c2e395cf88a6b4fa0dc4d41782fcbbd9
Make the VCL compiler complain about attempts to access variables outside
their scope.  One example of this is the "req.hash" variable which only
exists in the vcl_hash method.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1552 d4fa192b-c00b-0410-8231-f00ffab90ce4
varnish-cache/include/vrt_obj.h
varnish-cache/lib/libvcl/vcc_compile.c
varnish-cache/lib/libvcl/vcc_compile.h
varnish-cache/lib/libvcl/vcc_parse.c
varnish-cache/lib/libvcl/vcc_xref.c