diff options
author | Araq <rumpf_a@web.de> | 2017-12-17 13:15:19 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2017-12-17 13:15:19 +0100 |
commit | e06d76669aa627cc371d30634acd527c2c868006 (patch) | |
tree | 0088672e683e946167e29557fba85796939ddd0e | |
parent | 35133d97ef955a4bd19b8922078ff75ff39f7782 (diff) | |
download | Nim-e06d76669aa627cc371d30634acd527c2c868006.tar.gz |
renderer.nim: fixes a long standing bug that kept triple string literals from being rendered properly
-rw-r--r-- | compiler/renderer.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/renderer.nim b/compiler/renderer.nim index 6f80afefa..2092fc67c 100644 --- a/compiler/renderer.nim +++ b/compiler/renderer.nim @@ -860,7 +860,7 @@ proc gsub(g: var TSrcGen, n: PNode, c: TContext) = a: TContext if n.comment != nil: pushCom(g, n) case n.kind # atoms: - of nkTripleStrLit: putRawStr(g, tkTripleStrLit, n.strVal) + of nkTripleStrLit: put(g, tkTripleStrLit, atom(g, n)) of nkEmpty: discard of nkType: put(g, tkInvalid, atom(g, n)) of nkSym, nkIdent: gident(g, n) |