From 3ba1bf974e3952d7625e76cab591a2d512cf2e89 Mon Sep 17 00:00:00 2001 From: Miek Gieben Date: Mon, 4 Mar 2013 17:21:34 +0100 Subject: [PATCH] better doc --- zscan.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zscan.go b/zscan.go index ccf27374..0b31cdd3 100644 --- a/zscan.go +++ b/zscan.go @@ -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) }