aboutsummaryrefslogtreecommitdiff
path: root/lex.go
diff options
context:
space:
mode:
authorHimbeer <himbeer@disroot.org>2024-09-05 13:30:43 +0200
committerHimbeer <himbeer@disroot.org>2024-09-05 13:35:45 +0200
commit89a3d3440109abdff7a873b07440c0d1c5e9b2c2 (patch)
tree7ee170177c66c70f22b2e33163f43a88a37d7468 /lex.go
parentfdfcd6d8d0fe79138a2e5bf66ae7c476c8db9c75 (diff)
Fix IL generation error handling being unreliable
Diffstat (limited to 'lex.go')
-rw-r--r--lex.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/lex.go b/lex.go
index 621ed01..d4a4e30 100644
--- a/lex.go
+++ b/lex.go
@@ -25,7 +25,6 @@ func lex(src *os.File, tokens chan<- token, errs chan<- error) {
tok, err := readToken(br, &line)
if err != nil {
if err == io.EOF {
- wg.Done()
return
}