Skip to content

Commit

Permalink
Update ccgstmts.nim
Browse files Browse the repository at this point in the history
  • Loading branch information
jmgomez authored Feb 18, 2024
1 parent 292485d commit 28158c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/ccgstmts.nim
Original file line number Diff line number Diff line change
Expand Up @@ -1037,7 +1037,7 @@ proc genTryCpp(p: BProc, t: PNode, d: var TLoc) =

inc(p.labels, 2)
let etmp = p.labels
#init on local fixes, #23306
#init on locals, fixes #23306
lineCg(p, cpsLocals, "std::exception_ptr T$1_;$n", [etmp])

let fin = if t[^1].kind == nkFinally: t[^1] else: nil
Expand Down

0 comments on commit 28158c5

Please sign in to comment.