summaryrefslogtreecommitdiff
path: root/obo.go
diff options
context:
space:
mode:
Diffstat (limited to 'obo.go')
-rw-r--r--obo.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/obo.go b/obo.go
index 2827f88..ee63e87 100644
--- a/obo.go
+++ b/obo.go
@@ -69,9 +69,10 @@ func Dump(oboent []*OboTermEntry, parentchildrenmap map[string][]*OboTermEntry)
}
func parseObo(oboinput bufio.Reader, obochan chan *OboTermEntry, parentchildren map[string][]*OboTermEntry) {
- lineno := 0
var entry *OboTermEntry
var termsstarted bool
+
+ lineno := 0
defer close(obochan)
for {