better doc

This commit is contained in:
Miek Gieben 2013-03-04 17:21:34 +01:00
parent ffca5f59b1
commit 3ba1bf974e
1 changed files with 2 additions and 2 deletions

View File

@ -136,12 +136,12 @@ func ReadRR(q io.Reader, filename string) (RR, error) {
// }
// }
//
// Comments specified after an RR are returned too:
// Comments specified after an RR (and on the same line!) are returned too:
//
// foo. IN A 10.0.0.1 ; this is a comment
//
// The text "; this is comment" is returned in Token.comment . Comments inside the
// RR are discarded. Comments on the line by themselves are discarded too.
// RR are discarded. Comments on a line by themselves are discarded too.
func ParseZone(r io.Reader, origin, file string) chan Token {
return parseZoneHelper(r, origin, file, 10000)
}