tiny C support; cosmetic improvements for the docs
This commit is contained in:
parent
b2075302b1
commit
47886978c7
151 changed files with 63611 additions and 43 deletions
|
|
@ -243,7 +243,7 @@ proc genAssignment(p: BProc, dest, src: TLoc, flags: TAssignmentFlags) =
|
|||
# passed to an open array?
|
||||
if needsComplexAssignment(dest.t):
|
||||
appcg(p, cpsStmts, # XXX: is this correct for arrays?
|
||||
"genericAssignOpenArray((void*)$1, (void*)$2, $1Len0, $3);$n",
|
||||
"#genericAssignOpenArray((void*)$1, (void*)$2, $1Len0, $3);$n",
|
||||
[addrLoc(dest), addrLoc(src), genTypeInfo(p.module, dest.t)])
|
||||
else:
|
||||
appcg(p, cpsStmts,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue