Skip to content

Commit 5d3f81b

Browse files
authored
Remove slurpRemainder TODO from (*ZoneParser).Next (#1508)
No one has complained about this in the four years it's been here. I think we can safely accept this new behaviour.
1 parent a16092f commit 5d3f81b

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

scan.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -605,8 +605,6 @@ func (zp *ZoneParser) Next() (RR, bool) {
605605
if !isPrivate && zp.c.Peek().token == "" {
606606
// This is a dynamic update rr.
607607

608-
// TODO(tmthrgd): Previously slurpRemainder was only called
609-
// for certain RR types, which may have been important.
610608
if err := slurpRemainder(zp.c); err != nil {
611609
return zp.setParseError(err.err, err.lex)
612610
}

0 commit comments

Comments
 (0)