diff options
author | bptato <nincsnevem662@gmail.com> | 2022-07-29 18:23:23 +0200 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2022-07-29 18:23:23 +0200 |
commit | 6a5b629b4ed2203c62ca1e7d2b060b8cb28b7125 (patch) | |
tree | 7ac4e53aff514cbefc1f27fe7198fe95a062e3dc /src/utils | |
parent | 053e1ac019bf48e1932af9edabec150f60ec467f (diff) | |
download | chawan-6a5b629b4ed2203c62ca1e7d2b060b8cb28b7125.tar.gz |
Add missing pop pragma
Diffstat (limited to 'src/utils')
-rw-r--r-- | src/utils/twtstr.nim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/utils/twtstr.nim b/src/utils/twtstr.nim index c88c5980..f7d16618 100644 --- a/src/utils/twtstr.nim +++ b/src/utils/twtstr.nim @@ -862,6 +862,7 @@ func makewidthtable*(cjk: bool): array[0..0x10FFFF, byte] {.noInit.} = func width*(r: Rune): int = {.cast(noSideEffect).}: return int(width_table[int(r)]) +{.pop.} func width*(s: string): int = for r in s.runes(): |