summary refs log tree commit diff stats
path: root/compiler/modulegraphs.nim
diff options
context:
space:
mode:
authorClyybber <darkmine956@gmail.com>2019-08-14 08:11:50 +0200
committerAndreas Rumpf <rumpf_a@web.de>2019-08-14 08:11:50 +0200
commite6cb7e34effe7a47ab2a6d662e5bc99e89893757 (patch)
tree2361ba4001765ef2df4976017b88fad4b4e1a043 /compiler/modulegraphs.nim
parent5ef62fcb256d77694e6029c689603fabf70fa627 (diff)
downloadNim-e6cb7e34effe7a47ab2a6d662e5bc99e89893757.tar.gz
Make name mangling reversable unambiguously (#11939) [bugfix]
Diffstat (limited to 'compiler/modulegraphs.nim')
-rw-r--r--compiler/modulegraphs.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/modulegraphs.nim b/compiler/modulegraphs.nim
index 74158381c..320ce2e81 100644
--- a/compiler/modulegraphs.nim
+++ b/compiler/modulegraphs.nim
@@ -98,7 +98,7 @@ const
 proc toBase64a(s: cstring, len: int): string =
   ## encodes `s` into base64 representation.
   result = newStringOfCap(((len + 2) div 3) * 4)
-  result.add '_'
+  result.add "__"
   var i = 0
   while i < len - 2:
     let a = ord(s[i])