diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2015-08-25 10:54:05 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2015-08-25 10:54:05 +0200 |
commit | 5cfce2623b0ba1fba0085881c3e1cc42912a5225 (patch) | |
tree | 59e17aee6873104de39fa9796fb27b7045687fcd /compiler/commands.nim | |
parent | 3a01eab4df76e24b67ea62337411a23bc5987e28 (diff) | |
parent | 24ad2cb39247039c50db1b0a8633d00130814fda (diff) | |
download | Nim-5cfce2623b0ba1fba0085881c3e1cc42912a5225.tar.gz |
Merge pull request #3160 from r-ku/coroutines
Coroutines
Diffstat (limited to 'compiler/commands.nim')
-rw-r--r-- | compiler/commands.nim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/commands.nim b/compiler/commands.nim index fc28577aa..dba117516 100644 --- a/compiler/commands.nim +++ b/compiler/commands.nim @@ -612,6 +612,10 @@ proc processSwitch(switch, arg: string, pass: TCmdLinePass, info: TLineInfo) = of "experimental": expectNoArg(switch, arg, pass, info) gExperimentalMode = true + of "assembler": + cAssembler = nameToCC(arg) + if cAssembler notin cValidAssemblers: + localError(info, errGenerated, "'$1' is not a valid assembler." % [arg]) else: if strutils.find(switch, '.') >= 0: options.setConfigVar(switch, arg) else: invalidCmdLineOption(pass, switch, info) |