• Dag Erling Smørgrav's avatar
    r37057@cat (orig r1281): phk | 2007-03-09 11:31:29 +0100 · 2d790316
    Dag Erling Smørgrav authored
     Implement a facility for source file modularization in the VCL
     compiler.  The syntax is:
     
     	include "filename" ;
     
     Unlike the C preprocessors #include directive, a VCL include can
     appear anywhere in the sourcefile:
     
     	if {req.Cookie == include "cookie.vcl" ; || !req.Host } {
     	}
     
     and have cookie.vcl contain just:
     
     	"8435398475983275293759843"
     
     
     Technically this results in a change to how we account for source
     code references in the counter/profile table as well, and as a result
     the entire source code of the VCL program is now compiled into the
     shared library for easy reference.
     
     
    
    
    git-svn-id: http://www.varnish-cache.org/svn/branches/1.0@1324 d4fa192b-c00b-0410-8231-f00ffab90ce4
    2d790316
Name
Last commit
Last update
bin Loading commit data...
debian Loading commit data...
etc Loading commit data...
include Loading commit data...
lib Loading commit data...
man Loading commit data...
redhat Loading commit data...
ChangeLog Loading commit data...
INSTALL Loading commit data...
LICENSE Loading commit data...
Makefile.am Loading commit data...
README Loading commit data...
autogen.des Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
svn2cl.xsl Loading commit data...