'lambda' is no keyword anymore
This commit is contained in:
parent
404ada2aff
commit
057b53e139
6 changed files with 8 additions and 7 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue