Commit 34b106f6 authored by Edward Z. Yang's avatar Edward Z. Yang

Accept underscores in the module parser. (Thanks spinda for the fix.)

Signed-off-by: default avatarEdward Z. Yang <ezyang@cs.stanford.edu>
parent 5dc88b72
......@@ -3718,7 +3718,7 @@ clearPkgConf = upd $ \s -> s { extraPkgConfs = const [] }
parseModuleName :: ReadP ModuleName
parseModuleName = fmap mkModuleName
$ munch1 (\c -> isAlphaNum c || c `elem` ".")
$ munch1 (\c -> isAlphaNum c || c `elem` "_.")
parsePackageFlag :: (String -> PackageArg) -- type of argument
-> String -- string to parse
......
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