Skip to content

Commit

Permalink
Correct comments
Browse files Browse the repository at this point in the history
  • Loading branch information
phadej committed Aug 11, 2018
1 parent 984878a commit 7fd65c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cabal/Distribution/Types/ModuleRenaming.hs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ isDefaultRenaming :: ModuleRenaming -> Bool
isDefaultRenaming DefaultRenaming = True
isDefaultRenaming _ = False

-- | For versions < 3.0 white spaces were not skipped after the '('
-- | For cabal spec versions < 2.4 white spaces were not skipped after the '('
-- and ')' tokens in the mixin field. This parser checks the cabal file version
-- and does the correct skipping of spaces.
betweenParens :: CabalParsing m => m a -> m a
Expand Down
2 changes: 1 addition & 1 deletion Cabal/tests/ParserTests/regressions/mixin-2.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version: 0

-- mixin field:
-- in 2.2 we got leading/trailing commas
-- in 2.2 we got lax space parsing
-- in 2.4 we got lax space parsing
executable str-example
main-is: Main.hs
build-depends: base, str-string, str-bytestring
Expand Down

0 comments on commit 7fd65c5

Please sign in to comment.