Skip to content

Commit

Permalink
setjmp is entangled with quirkyExceptions, I'm not going to fix it
Browse files Browse the repository at this point in the history
  • Loading branch information
ringabout committed Feb 6, 2024
1 parent 1b75344 commit 423ebab
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 @@ -767,7 +767,7 @@ proc genRaiseStmt(p: BProc, t: PNode) =
case p.config.exc
of excCpp:
blockLeaveActions(p, howManyTrys = 0, howManyExcepts = p.inExceptBlockLen)
of excGoto, excSetjmp:
of excGoto:
# bug #18070; bug #22398
if p.nestedTryStmts.len > 0 and p.nestedTryStmts[^1].inExcept:
linefmt(p, cpsStmts, "#popCurrentException();$n", [])
Expand Down

0 comments on commit 423ebab

Please sign in to comment.