stylecheck: tkSemcol -> tkSemCol

This commit is contained in:
Dustin Brody 2022-07-05 21:24:30 +00:00
parent 47ceac54c2
commit 8a433c6ba4
No known key found for this signature in database
GPG Key ID: 3D7A11A0156519DC
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
## nim-websock ## nim-websock
## Copyright (c) 2021 Status Research & Development GmbH ## Copyright (c) 2021-2022 Status Research & Development GmbH
## Licensed under either of ## Licensed under either of
## * Apache License, version 2.0, ([LICENSE-APACHE](LICENSE-APACHE)) ## * Apache License, version 2.0, ([LICENSE-APACHE](LICENSE-APACHE))
## * MIT license ([LICENSE-MIT](LICENSE-MIT)) ## * 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].name = system.move(param.name)
ext.params[^1].value = system.move(param.value) ext.params[^1].value = system.move(param.value)
if lex.tok notin {tkSemcol, tkComma, tkEof}: if lex.tok notin {tkSemCol, tkComma, tkEof}:
return false return false
output.setLen(output.len + 1) output.setLen(output.len + 1)