Install example right away
This commit is contained in:
parent
536ac17f11
commit
49f41fb17b
|
@ -8,4 +8,4 @@ EXAMPLES=mx \
|
|||
q \
|
||||
|
||||
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:
|
||||
h.Rrtype = l.torc
|
||||
st = _EXPECT_RDATA
|
||||
case _NEWLINE:
|
||||
t <- Token{Error: &ParseError{f, "premature newline, no RR type seen", l}}
|
||||
default:
|
||||
t <- Token{Error: &ParseError{f, "expecting RR type or class, not this...", l}}
|
||||
return
|
||||
}
|
||||
case _EXPECT_ANY_NOCLASS:
|
||||
|
|
Loading…
Reference in New Issue