Skip to content

Commit 9df8823

Browse files
committed
rparens now skips spaces always.
1 parent 3e32d1a commit 9df8823

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Cabal/Distribution/Types/ModuleRenaming.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ instance Parsec ModuleRenaming where
105105
parsec = P.choice [ parseRename, parseHiding, return DefaultRenaming ]
106106
where
107107
lparen = P.char '(' >> liberalSpaces
108-
rparen = P.char ')' >> liberalSpaces
108+
rparen = P.char ')' >> P.spaces
109109
cma = P.char ',' >> P.spaces
110110
parseRename = do
111111
rns <- P.between lparen rparen parseList

0 commit comments

Comments
 (0)