Skip to content

Commit

Permalink
use two underscores for easy demangling [backport:1.6] (nim-lang#19028)
Browse files Browse the repository at this point in the history
  • Loading branch information
Araq committed Oct 21, 2021
1 parent 62701cd commit 1a45da9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/ccgtypes.nim
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ proc mangleName(m: BModule; s: PSym): Rope =
result = s.loc.r
if result == nil:
result = s.name.s.mangle.rope
result.add "_"
result.add "__"
result.add m.g.graph.ifaces[s.itemId.module].uniqueName
result.add "_"
result.add rope s.itemId.item
Expand Down

0 comments on commit 1a45da9

Please sign in to comment.