diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2021-04-07 13:40:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-07 13:40:57 +0200 |
commit | 939df8cbdaf8b65966c60b4e368ba317cf4d194f (patch) | |
tree | 7003001c7e71780ae3f8d5799a4fd4650f626ba8 /lib/system | |
parent | d3702a4dc3f4226ae601f503bc3f2244f9e1bdce (diff) | |
download | Nim-939df8cbdaf8b65966c60b4e368ba317cf4d194f.tar.gz |
ensure the avr example keeps compiling (#17663)
* ensure the avr example keeps compiling * Update tests/avr/thello.nim * now compiles properly
Diffstat (limited to 'lib/system')
-rw-r--r-- | lib/system/embedded.nim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/system/embedded.nim b/lib/system/embedded.nim index 258558c3f..e0b053c7b 100644 --- a/lib/system/embedded.nim +++ b/lib/system/embedded.nim @@ -34,6 +34,10 @@ proc quitOrDebug() {.noreturn, importc: "abort", header: "<stdlib.h>", nodecl.} proc raiseException(e: ref Exception, ename: cstring) {.compilerRtl.} = sysFatal(ReraiseDefect, "exception handling is not available") +proc raiseExceptionEx(e: sink(ref Exception), ename, procname, filename: cstring, + line: int) {.compilerRtl.} = + sysFatal(ReraiseDefect, "exception handling is not available") + proc reraiseException() {.compilerRtl.} = sysFatal(ReraiseDefect, "no exception to reraise") |