Support multi byte characters in module names (#7916)
This commit is contained in:
parent
a55f49a7b4
commit
eb8f15d97c
3 changed files with 10 additions and 2 deletions
|
|
@ -1099,7 +1099,7 @@ proc getSomeInitName(m: PSym, suffix: string): Rope =
|
|||
if {sfSystemModule, sfMainModule} * m.flags == {}:
|
||||
result = m.owner.name.s.mangle.rope
|
||||
result.add "_"
|
||||
result.add m.name.s
|
||||
result.add m.name.s.mangle
|
||||
result.add suffix
|
||||
|
||||
proc getInitName(m: PSym): Rope =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue