'lambda' is no keyword anymore

This commit is contained in:
Araq 2014-08-08 02:24:19 +02:00
commit 057b53e139
6 changed files with 8 additions and 7 deletions

View file

@ -925,7 +925,7 @@ proc gsub(g: var TSrcGen, n: PNode, c: TContext) =
of nkCheckedFieldExpr, nkHiddenAddr, nkHiddenDeref:
gsub(g, n.sons[0])
of nkLambda:
putWithSpace(g, tkLambda, "proc")
putWithSpace(g, tkProc, "proc")
gsub(g, n.sons[paramsPos])
gsub(g, n.sons[pragmasPos])
put(g, tkSpaces, Space)