only store finally block in exception stack (#11876)
This commit is contained in:
parent
c9f49cbc0a
commit
42d2e68bca
2 changed files with 12 additions and 10 deletions
|
|
@ -73,7 +73,7 @@ type
|
|||
noSafePoints*: bool # the proc doesn't use safe points in exception handling
|
||||
lastLineInfo*: TLineInfo # to avoid generating excessive 'nimln' statements
|
||||
currLineInfo*: TLineInfo # AST codegen will make this superfluous
|
||||
nestedTryStmts*: seq[tuple[n: PNode, inExcept: bool]]
|
||||
nestedTryStmts*: seq[tuple[fin: PNode, inExcept: bool]]
|
||||
# in how many nested try statements we are
|
||||
# (the vars must be volatile then)
|
||||
# bool is true when are in the except part of a try block
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue