Commit 218c7fe5 authored by Ian Lynagh's avatar Ian Lynagh

The -e flag now has a "SepArg" argument; fixes #3568

This means -e must be separated from its argument by a space.
It therefore doesn't try to parse "-exclude-module" as
"execute xclude-module".
parent 8ee215b9
......@@ -534,7 +534,7 @@ mode_flags =
Supported
, Flag "-abi-hash" (PassFlag (setMode doAbiHashMode))
Supported
, Flag "e" (HasArg (\s -> setMode (doEvalMode s) "-e"))
, Flag "e" (SepArg (\s -> setMode (doEvalMode s) "-e"))
Supported
-- -fno-code says to stop after Hsc but don't generate any code.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment