Install example right away
This commit is contained in:
parent
536ac17f11
commit
49f41fb17b
|
@ -8,4 +8,4 @@ EXAMPLES=mx \
|
||||||
q \
|
q \
|
||||||
|
|
||||||
ex:
|
ex:
|
||||||
for i in $(EXAMPLES); do echo $$i; (cd $$i && go build); done
|
for i in $(EXAMPLES); do echo $$i; (cd $$i && go install); done
|
||||||
|
|
4
zscan.go
4
zscan.go
|
@ -343,8 +343,8 @@ func parseZone(r io.Reader, origin, f string, t chan Token, include int) {
|
||||||
case _RRTYPE:
|
case _RRTYPE:
|
||||||
h.Rrtype = l.torc
|
h.Rrtype = l.torc
|
||||||
st = _EXPECT_RDATA
|
st = _EXPECT_RDATA
|
||||||
case _NEWLINE:
|
default:
|
||||||
t <- Token{Error: &ParseError{f, "premature newline, no RR type seen", l}}
|
t <- Token{Error: &ParseError{f, "expecting RR type or class, not this...", l}}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
case _EXPECT_ANY_NOCLASS:
|
case _EXPECT_ANY_NOCLASS:
|
||||||
|
|
Loading…
Reference in New Issue