added system.||; lacks runtime support

This commit is contained in:
Araq 2012-05-23 02:05:28 +02:00
commit 848c1b297f
12 changed files with 60 additions and 9 deletions

View file

@ -142,7 +142,7 @@ proc semGenericStmt(c: PContext, n: PNode,
a.sons[j] = semGenericStmt(c, a.sons[j], flags, toBind)
a.sons[L - 1] = semGenericStmtScope(c, a.sons[L-1], flags, toBind)
closeScope(c.tab)
of nkForStmt:
of nkForStmt, nkParForStmt:
var L = sonsLen(n)
openScope(c.tab)
n.sons[L - 2] = semGenericStmt(c, n.sons[L-2], flags, toBind)