diff --git a/Makefile b/Makefile index 883b0b81..334a4bb6 100644 --- a/Makefile +++ b/Makefile @@ -20,6 +20,7 @@ GOFILES=\ tsig.go\ types.go\ zparse.go\ + kparse.go\ xfr.go\ include $(GOROOT)/src/Make.pkg @@ -30,6 +31,9 @@ _examples: examples: gomake -C _examples -# yes, hardcoded path, yes ugly, yes deal with it +# yes, hardcoded path, yes ugly, yes, deal with it zparse.go: zparse.rl types.rl /home/miekg/svn/ragel/ragel/ragel -Z -G2 -o $@ $< + +kparse.go: kparse.rl + /home/miekg/svn/ragel/ragel/ragel -Z -G2 -o $@ $< diff --git a/kparse.rl b/kparse.rl index 739d76b9..1ffe03d5 100644 --- a/kparse.rl +++ b/kparse.rl @@ -1,4 +1 @@ -{%% - machine k; - write data; -}%% +package dns