This commit is contained in:
Andreas Rumpf 2020-08-01 07:39:00 +02:00 • committed by GitHub
commit 4ab6887a67
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 32 additions and 24 deletions

View file

@ -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: