new concurrency model: first steps; shared is not a keyword anymore
This commit is contained in:
parent
817337af30
commit
b961e47bfe
13 changed files with 67 additions and 22 deletions
|
|
@ -1082,12 +1082,6 @@ proc gsub(g: var TSrcGen, n: PNode, c: TContext) =
|
|||
gsub(g, n.sons[1])
|
||||
else:
|
||||
put(g, tkIterator, "iterator")
|
||||
of nkSharedTy:
|
||||
if sonsLen(n) > 0:
|
||||
putWithSpace(g, tkShared, "shared")
|
||||
gsub(g, n.sons[0])
|
||||
else:
|
||||
put(g, tkShared, "shared")
|
||||
of nkStaticTy:
|
||||
put(g, tkStatic, "static")
|
||||
put(g, tkBracketLe, "[")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue