summary refs log tree commit diff stats
path: root/compiler
diff options
context:
space:
mode:
authorflywind <xzsflywind@gmail.com>2022-02-06 15:51:03 +0800
committerGitHub <noreply@github.com>2022-02-06 08:51:03 +0100
commitd0287748fefd9eae71cb3d66caef724473525b28 (patch)
tree0cdb4fb13ec74aebc9e3d16d122b506a23f4caec /compiler
parent7b09fd70ab8154eed3738dfd86f84c5642df3cf2 (diff)
downloadNim-d0287748fefd9eae71cb3d66caef724473525b28.tar.gz
setjump => setjmp [backport: 1.2] (#19496)
Diffstat (limited to 'compiler')
-rw-r--r--compiler/commands.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/commands.nim b/compiler/commands.nim
index fb2907bb1..6d3f23197 100644
--- a/compiler/commands.nim
+++ b/compiler/commands.nim
@@ -238,7 +238,7 @@ const
   errNoneBoehmRefcExpectedButXFound = "'arc', 'orc', 'markAndSweep', 'boehm', 'go', 'none', 'regions', or 'refc' expected, but '$1' found"
   errNoneSpeedOrSizeExpectedButXFound = "'none', 'speed' or 'size' expected, but '$1' found"
   errGuiConsoleOrLibExpectedButXFound = "'gui', 'console' or 'lib' expected, but '$1' found"
-  errInvalidExceptionSystem = "'goto', 'setjump', 'cpp' or 'quirky' expected, but '$1' found"
+  errInvalidExceptionSystem = "'goto', 'setjmp', 'cpp' or 'quirky' expected, but '$1' found"
 
 template warningOptionNoop(switch: string) =
   warningDeprecated(conf, info, "'$#' is deprecated, now a noop" % switch)