about summary refs log tree commit diff stats
path: root/src/utils
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2022-07-29 18:23:23 +0200
committerbptato <nincsnevem662@gmail.com>2022-07-29 18:23:23 +0200
commit6a5b629b4ed2203c62ca1e7d2b060b8cb28b7125 (patch)
tree7ac4e53aff514cbefc1f27fe7198fe95a062e3dc /src/utils
parent053e1ac019bf48e1932af9edabec150f60ec467f (diff)
downloadchawan-6a5b629b4ed2203c62ca1e7d2b060b8cb28b7125.tar.gz
Add missing pop pragma
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/twtstr.nim1
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():