From e06d76669aa627cc371d30634acd527c2c868006 Mon Sep 17 00:00:00 2001 From: Araq Date: Sun, 17 Dec 2017 13:15:19 +0100 Subject: [PATCH] renderer.nim: fixes a long standing bug that kept triple string literals from being rendered properly --- compiler/renderer.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)