ccgstmts: fix 'occured' -> 'occurred' typo in emitted C++ exception comment (#25749)

Inline C++ comment emitted by `compiler/ccgstmts.nim:1168` into
generated code read `C++ exception occured, not under Nim's control`.
Doc-only change in the emitted source.

Signed-off-by: SAY-5 <SAY-5@users.noreply.github.com>
Co-authored-by: SAY-5 <SAY-5@users.noreply.github.com>
(cherry picked from commit 3eb4a60b6b)
This commit is contained in:
Sai Asish Y
2026-04-15 21:29:09 -07:00
committed by narimiran
parent 4624aba70c
commit 2d3c436228

View File

@@ -1060,7 +1060,7 @@ proc genTryCpp(p: BProc, t: PNode, d: var TLoc) =
throw;
}
} catch(...) {
// C++ exception occured, not under Nim's control.
// C++ exception occurred, not under Nim's control.
}
{
/* finally: */