Make sure we're using SVN ragel; add default Link constructor.

This commit is contained in:
Alex Bramley 2010-12-01 22:57:50 +00:00
parent 7e90299992
commit f99a2c6bb8
2 changed files with 7 additions and 1 deletions

View File

@ -12,5 +12,5 @@ GOFILES=\
include $(GOROOT)/src/Make.pkg
parser.go: parser.rl
ragel -Z -G2 -o parser.go parser.rl
ragel-svn -Z -G2 -o parser.go parser.rl

View File

@ -137,6 +137,12 @@ type cLink struct {
SSL, Zip, Auto bool
}
func defaultLink() *cLink {
return &cLink{
SSL: false, Zip: false, Auto: false,
}
}
/* Static ban configuration */
type cBan interface {
Match(string) bool