compiler_ropes: don't expose newRope
This commit is contained in:
parent
97d2df9bac
commit
b4e4ea8d1b
3 changed files with 5 additions and 5 deletions
|
|
@ -77,13 +77,13 @@ proc mangleName(s: PSym): PRope =
|
|||
# These are not properly scoped now - we need to add blocks
|
||||
# around for loops in transf
|
||||
if keepOrigName:
|
||||
result = s.name.s.mangle.newRope
|
||||
result = s.name.s.mangle.toRope
|
||||
else:
|
||||
app(result, newRope(mangle(s.name.s)))
|
||||
app(result, toRope(mangle(s.name.s)))
|
||||
app(result, ~"_")
|
||||
app(result, toRope(s.id))
|
||||
else:
|
||||
app(result, newRope(mangle(s.name.s)))
|
||||
app(result, toRope(mangle(s.name.s)))
|
||||
app(result, ~"_")
|
||||
app(result, toRope(s.id))
|
||||
s.loc.r = result
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue