diff options
author | bptato <nincsnevem662@gmail.com> | 2023-07-03 17:07:54 +0200 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2023-07-03 17:08:09 +0200 |
commit | b22b35d738402ed9390fe690493fb955ef41a8a1 (patch) | |
tree | f4e04ddb10ee7d9a9a87ef49b4a27e22c9da3871 /src/html | |
parent | 519e5fa0986320d55ddcc5c0fa2b8e44dbff779b (diff) | |
download | chawan-b22b35d738402ed9390fe690493fb955ef41a8a1.tar.gz |
tokenizer: fix unreachable code warning
Diffstat (limited to 'src/html')
-rw-r--r-- | src/html/htmltokenizer.nim | 1 |
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 |