From 12c8ef5949aca6be288a304292c89c350db44f29 Mon Sep 17 00:00:00 2001 From: Benjamin Lee Date: Wed, 14 Oct 2020 05:20:59 -0400 Subject: [PATCH] Update the list of GC options when raising an error (closes #15547) (#15553) --- compiler/commands.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/commands.nim b/compiler/commands.nim index 19048065f..3c6cc5919 100644 --- a/compiler/commands.nim +++ b/compiler/commands.nim @@ -229,7 +229,7 @@ proc processCompile(conf: ConfigRef; filename: string) = extccomp.addExternalFileToCompile(conf, found) const - errNoneBoehmRefcExpectedButXFound = "'none', 'boehm' or 'refc' expected, but '$1' found" + 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"