From b22b35d738402ed9390fe690493fb955ef41a8a1 Mon Sep 17 00:00:00 2001 From: bptato Date: Mon, 3 Jul 2023 17:07:54 +0200 Subject: tokenizer: fix unreachable code warning --- src/html/htmltokenizer.nim | 1 - 1 file changed, 1 deletion(-) (limited to 'src/html/htmltokenizer.nim') 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 -- cgit 1.4.1-2-gfad0