make tmemfile2 work again
This commit is contained in:
parent
20950ee073
commit
8bcaee1fdf
3 changed files with 6 additions and 3 deletions
|
|
@ -1769,6 +1769,7 @@ proc convStrToCStr(p: BProc, n: PNode, d: var TLoc) =
|
|||
initLocExpr(p, n.sons[0], a)
|
||||
putIntoDest(p, d, n,
|
||||
ropecg(p.module, "#nimToCStringConv($1)", [rdLoc(a)]),
|
||||
# "($1 ? $1->data : (NCSTRING)\"\")" % [a.rdLoc],
|
||||
a.storage)
|
||||
|
||||
proc convCStrToStr(p: BProc, n: PNode, d: var TLoc) =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue