nimbuild should work again

This commit is contained in:
Araq 2012-11-01 01:11:48 +01:00
commit 42d0911d6a
11 changed files with 106 additions and 31 deletions

View file

@ -765,6 +765,7 @@ proc semProcAux(c: PContext, n: PNode, kind: TSymKind,
s = proto
n.sons[genericParamsPos] = proto.ast.sons[genericParamsPos]
n.sons[paramsPos] = proto.ast.sons[paramsPos]
n.sons[pragmasPos] = proto.ast.sons[pragmasPos]
if n.sons[namePos].kind != nkSym: InternalError(n.info, "semProcAux")
n.sons[namePos].sym = proto
proto.ast = n # needed for code generation