This commit is contained in:
Miek Gieben 2013-03-04 15:01:49 +01:00
parent 7b7eaaa4b0
commit ef9b83d3bd
1 changed files with 2 additions and 2 deletions

View File

@ -140,8 +140,8 @@ func ReadRR(q io.Reader, filename string) (RR, error) {
//
// foo. IN A 10.0.0.1 ; this is a comment
//
// The text "; this is comment" is returned in Token.comment . Comments inside,
// before or after the RR are discarded.
// 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.
func ParseZone(r io.Reader, origin, file string) chan Token {
return parseZoneHelper(r, origin, file, 10000)
}