Now it works even better

This commit is contained in:
Miek Gieben 2011-07-14 21:31:59 +02:00
parent 1ebb704fe4
commit b676307226
1 changed files with 1 additions and 2 deletions

View File

@ -29,7 +29,7 @@ func zparse(data string) (r RR, err os.Error) {
action qname { hdr.Name = data[mark:p] }
action qclass { hdr.Class = Str_class[data[mark:p]] }
action defTtl { fmt.Printf("defttl {%s}\n", data[mark:p]) }
action defTtl { /* fmt.Printf("defttl {%s}\n", data[mark:p]) */ }
action setTtl { ttl, _ := strconv.Atoi(data[mark:p]); hdr.Ttl = uint32(ttl) }
action rdata_a {
@ -60,7 +60,6 @@ func zparse(data string) (r RR, err os.Error) {
);
rr = lhs rhs;
main := rr+;
write init;