renderer.nim: fixes a long standing bug that kept triple string literals from being rendered properly
This commit is contained in:
parent
35133d97ef
commit
e06d76669a
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue