From 92518b1c6abe6c8b71bbcf50c643aa6398bfb198 Mon Sep 17 00:00:00 2001 From: Miek Gieben Date: Thu, 14 Jul 2011 23:59:12 +0200 Subject: [PATCH] begin this file too --- Makefile | 6 +++++- kparse.rl | 5 +---- 2 files changed, 6 insertions(+), 5 deletions(-) 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