about summary refs log tree commit diff stats
path: root/src/html
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2023-07-03 17:07:54 +0200
committerbptato <nincsnevem662@gmail.com>2023-07-03 17:08:09 +0200
commitb22b35d738402ed9390fe690493fb955ef41a8a1 (patch)
treef4e04ddb10ee7d9a9a87ef49b4a27e22c9da3871 /src/html
parent519e5fa0986320d55ddcc5c0fa2b8e44dbff779b (diff)
downloadchawan-b22b35d738402ed9390fe690493fb955ef41a8a1.tar.gz
tokenizer: fix unreachable code warning
Diffstat (limited to 'src/html')
-rw-r--r--src/html/htmltokenizer.nim1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/html/htmltokenizer.nim b/src/html/htmltokenizer.nim
index a1776820..fdc8507e 100644
--- a/src/html/htmltokenizer.nim
+++ b/src/html/htmltokenizer.nim
@@ -168,7 +168,6 @@ iterator tokenize*(tokenizer: var Tokenizer): Token =
   template emit(ch: char) = emit Token(t: CHARACTER_ASCII, c: ch)
   template emit_eof =
     emit EOF
-    break
   template emit_tok =
     if tokenizer.attr:
       tokenizer.tok.attrs[tokenizer.attrn] = tokenizer.attrv