]> err.no Git - varnish/commit
Twist the compiler logic around a bit.
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Sat, 24 Mar 2007 22:09:53 +0000 (22:09 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Sat, 24 Mar 2007 22:09:53 +0000 (22:09 +0000)
commit0fda6d38dd48bc2c95df50fd380b89767476bf8f
tree37f59324edd381fdc39f92ac85c0584a5da1e414
parentf7a78edd1fe32955d25f70a8f3ce713a4042fc1f
Twist the compiler logic around a bit.

Concatenate all definitions of the method functions into one
instance of the function:

sub vcl_pipe {
foo;
}

sub vcl_pipe {
bar;
}

is now the same as

sub vcl_pipe {
foo;
bar;
}

This avoids all the magic related to the default functions and
hopefully makes the newly introduced "include" facility much more
useful.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1284 d4fa192b-c00b-0410-8231-f00ffab90ce4
varnish-cache/bin/varnishd/mgt_vcc.c
varnish-cache/include/vcl_returns.h
varnish-cache/lib/libvcl/vcc_compile.c
varnish-cache/lib/libvcl/vcc_compile.h
varnish-cache/lib/libvcl/vcc_gen_fixed_token.tcl
varnish-cache/lib/libvcl/vcc_parse.c