anonymous procs implemented; however no closure support yet
This commit is contained in:
parent
00a4e19e8f
commit
f0145ba7c5
5 changed files with 27 additions and 6 deletions
|
|
@ -684,6 +684,8 @@ proc transform(c: PTransf, n: PNode): PTransNode =
|
|||
of nkBracketExpr:
|
||||
result = transformArrayAccess(c, n)
|
||||
of nkLambda:
|
||||
n.sons[codePos] = PNode(transform(c, n.sons[codePos]))
|
||||
result = PTransNode(n)
|
||||
when false: result = transformLambda(c, n)
|
||||
of nkForStmt:
|
||||
result = transformFor(c, n)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue