Minor fix

This commit is contained in:
LI Tao 2019-07-15 23:08:28 +08:00
parent f675a65632
commit 51ada8006a

View file

@ -124,7 +124,7 @@ func (b *definitionDescriptionParser) Open(parent gast.Node, reader text.Reader,
} }
w += pos + 1 w += pos + 1
if w != list.Offset { if w < list.Offset {
return nil, parser.NoChildren return nil, parser.NoChildren
} }