diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2015-04-06 00:32:08 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2015-04-06 00:32:08 +0200 |
commit | 99e0fb90e0d66e706cb91f5af126413d3588c97b (patch) | |
tree | b5fea6c809173f951b61dd9daa4fb660bf5dd4d5 /compiler/astalgo.nim | |
parent | caf3d9e34246954e648c78f1b95220cc1a67ae5c (diff) | |
parent | 0f131b9f46aed4bd077c2c04e63dc0cacc348930 (diff) | |
download | Nim-99e0fb90e0d66e706cb91f5af126413d3588c97b.tar.gz |
Merge pull request #2428 from arnetheduck/comp-lib-ropes
Comp lib ropes
Diffstat (limited to 'compiler/astalgo.nim')
-rw-r--r-- | compiler/astalgo.nim | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/compiler/astalgo.nim b/compiler/astalgo.nim index 789a084e3..b4e768617 100644 --- a/compiler/astalgo.nim +++ b/compiler/astalgo.nim @@ -452,17 +452,16 @@ proc debug(n: PSym) = elif n.kind == skUnknown: msgWriteln("skUnknown") else: - #writeln(stdout, ropeToStr(symToYaml(n, 0, 1))) + #writeln(stdout, $symToYaml(n, 0, 1)) msgWriteln("$1_$2: $3, $4, $5, $6" % [ - n.name.s, $n.id, flagsToStr(n.flags).ropeToStr, - flagsToStr(n.loc.flags).ropeToStr, lineInfoToStr(n.info).ropeToStr, - $n.kind]) + n.name.s, $n.id, $flagsToStr(n.flags), $flagsToStr(n.loc.flags), + $lineInfoToStr(n.info), $n.kind]) proc debug(n: PType) = - msgWriteln(ropeToStr(debugType(n))) + msgWriteln($debugType(n)) proc debug(n: PNode) = - msgWriteln(ropeToStr(debugTree(n, 0, 100))) + msgWriteln($debugTree(n, 0, 100)) const EmptySeq = @[] |