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>
This commit is contained in:
Sai Asish Y
2026-04-15 21:29:09 -07:00
committed by GitHub
parent 7b73537131
commit 3eb4a60b6b

View File

@@ -1165,7 +1165,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: */