From 8a433c6ba43940b13ce56f83d79a93273ece5684 Mon Sep 17 00:00:00 2001 From: Dustin Brody Date: Tue, 5 Jul 2022 21:24:30 +0000 Subject: [PATCH] stylecheck: tkSemcol -> tkSemCol --- websock/extensions/extutils.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/websock/extensions/extutils.nim b/websock/extensions/extutils.nim index 5a1a19e..f9eba08 100644 --- a/websock/extensions/extutils.nim +++ b/websock/extensions/extutils.nim @@ -1,5 +1,5 @@ ## nim-websock -## Copyright (c) 2021 Status Research & Development GmbH +## Copyright (c) 2021-2022 Status Research & Development GmbH ## Licensed under either of ## * Apache License, version 2.0, ([LICENSE-APACHE](LICENSE-APACHE)) ## * MIT license ([LICENSE-MIT](LICENSE-MIT)) @@ -137,7 +137,7 @@ proc parseExt*[T: BChar](data: openArray[T], output: var seq[AppExt]): bool = ext.params[^1].name = system.move(param.name) ext.params[^1].value = system.move(param.value) - if lex.tok notin {tkSemcol, tkComma, tkEof}: + if lex.tok notin {tkSemCol, tkComma, tkEof}: return false output.setLen(output.len + 1)