From 369f5ac87ff66b8bfe272c2abcf6389791a66c59 Mon Sep 17 00:00:00 2001 From: Mehmet Oguz Derin Date: Sun, 15 May 2022 19:52:25 +0300 Subject: [PATCH] Preserve static gains --- scripts/unicode.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/unicode.py b/scripts/unicode.py index 7968c91..eb23b67 100755 --- a/scripts/unicode.py +++ b/scripts/unicode.py @@ -146,7 +146,7 @@ def emit_table(f, name, t_data, t_type = "&[(char, char)]", is_pub=True, if not is_const: pub_string = "let" if is_pub: - pub_string = "pub " + pub_string + pub_string = "static" f.write(" %s %s: %s = &[\n" % (pub_string, name, t_type)) data = "" first = True