From 2607b2c9f026a197aa96f0308ed8694d8893533b Mon Sep 17 00:00:00 2001 From: William Woodruff Date: Thu, 18 Feb 2021 11:41:46 -0500 Subject: [PATCH] shared/parser: use compileUnaryCallback --- shared/parser.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shared/parser.go b/shared/parser.go index 92a553a..212e250 100644 --- a/shared/parser.go +++ b/shared/parser.go @@ -177,8 +177,8 @@ func Parse(argList []string) ParserResult { "--version": {0, pr.compileOnlyCallback}, "-v": {0, pr.compileOnlyCallback}, - // "-w": {0, pr.compileOnlyCallback}, - // "-W": {0, pr.compileOnlyCallback}, + "-w": {0, pr.compileUnaryCallback}, + "-W": {0, pr.compileUnaryCallback}, "-emit-llvm": {0, pr.emitLLVMCallback}, "-flto": {0, pr.linkTimeOptimizationCallback},