Skip to content

Commit

Permalink
Preserve static gains
Browse files Browse the repository at this point in the history
  • Loading branch information
mehmetoguzderin committed May 15, 2022
1 parent 959d659 commit 369f5ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/unicode.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 369f5ac

Please sign in to comment.