implements #173
This commit is contained in:
parent
2ff8d17369
commit
538b06a123
11 changed files with 114 additions and 39 deletions
|
|
@ -49,7 +49,6 @@ type
|
|||
nestedProcs: int # > 0 if we are in a nested proc
|
||||
contSyms, breakSyms: seq[PSym] # to transform 'continue' and 'break'
|
||||
inLoop: int # > 0 if we are in a loop
|
||||
transformedInnerProcs: TIntSet
|
||||
PTransf = ref TTransfContext
|
||||
|
||||
proc newTransNode(a: PNode): PTransNode {.inline.} =
|
||||
|
|
@ -753,7 +752,6 @@ proc openTransf(module: PSym, filename: string): PPassContext =
|
|||
n.contSyms = @[]
|
||||
n.breakSyms = @[]
|
||||
n.module = module
|
||||
n.transformedInnerProcs = initIntSet()
|
||||
result = n
|
||||
|
||||
proc openTransfCached(module: PSym, filename: string,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue