disables the compile-time rope formatting during bootstrapping

This commit is contained in:
Zahary Karadjov 2012-11-21 23:23:37 +02:00
commit a42545ea3e
7 changed files with 223 additions and 208 deletions

View file

@ -126,13 +126,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.toRope
result = s.name.s.mangle.newRope
else:
app(result, toRope(mangle(s.name.s)))
app(result, newRope(mangle(s.name.s)))
app(result, ~"_")
app(result, toRope(s.id))
else:
app(result, toRope(mangle(s.name.s)))
app(result, newRope(mangle(s.name.s)))
app(result, ~"_")
app(result, toRope(s.id))
s.loc.r = result