on master help sign in
No need to add .exe to the output name, it will be done later anyway

And we don't know what code generator is used. Fixes #2523

commitd4f9403dfbae9fcb6401b9dcbf76226eb4afb169 authorNiklas Larsson <niklas@mm.st> dateSat 15 Aug 2015, 15:39 (11 years ago) parent31642c1
1 file changed+1−4
src/Pkg/PParser.hs+1−4
src/Pkg/PParser.hs+1−4
@@ -66,10 +66,7 @@ pClause :: PParser ()
6666pClause = do reserved "executable"; lchar '=';
6767 exec <- fst <$> iName []
6868 st <- get
69− put (st { execout = Just (if isWindows
70− then ((show exec) ++ ".exe")
71− else ( show exec )
72− ) })
69+ put (st { execout = Just (show exec) })
7370 <|> do reserved "main"; lchar '=';
7471 main <- fst <$> iName []
7572 st <- get