parent
6b88cd0d42
commit
4ab6887a67
5 changed files with 32 additions and 24 deletions
|
|
@ -280,7 +280,7 @@ proc patch(c: var Con, p: TPosition) =
|
|||
# patch with current index
|
||||
c.code[p.int].dest = checkedDistance(c.code.len - p.int)
|
||||
|
||||
func gen(c: var Con; n: PNode)
|
||||
proc gen(c: var Con; n: PNode)
|
||||
|
||||
proc popBlock(c: var Con; oldLen: int) =
|
||||
var exits: seq[TPosition]
|
||||
|
|
@ -712,7 +712,7 @@ proc genVarSection(c: var Con; n: PNode) =
|
|||
if a.lastSon.kind != nkEmpty:
|
||||
genDef(c, a[0])
|
||||
|
||||
func gen(c: var Con; n: PNode) =
|
||||
proc gen(c: var Con; n: PNode) =
|
||||
case n.kind
|
||||
of nkSym: genUse(c, n)
|
||||
of nkCallKinds:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue