Skip to content

Commit 9bc7dda

Browse files
authored
Merge pull request #10494 from kquick/preproc_doc_fix_kwq1
Update haddock example for recent changes.
2 parents 0fbb0db + 035c38b commit 9bc7dda

File tree

1 file changed

+2
-1
lines changed
  • Cabal/src/Distribution/Simple/PreProcess

1 file changed

+2
-1
lines changed

Cabal/src/Distribution/Simple/PreProcess/Types.hs

+2-1
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,12 @@ import qualified Text.PrettyPrint as Disp
4444
-- > ppTestHandler =
4545
-- > PreProcessor {
4646
-- > platformIndependent = True,
47+
-- > ppOrdering = \_ _ -> return,
4748
-- > runPreProcessor = mkSimplePreProcessor $ \inFile outFile verbosity ->
4849
-- > do info verbosity (inFile++" has been preprocessed to "++outFile)
4950
-- > stuff <- readFile inFile
5051
-- > writeFile outFile ("-- preprocessed as a test\n\n" ++ stuff)
51-
-- > return ExitSuccess
52+
-- > return ()
5253
--
5354
-- We split the input and output file names into a base directory and the
5455
-- rest of the file name. The input base dir is the path in the list of search

0 commit comments

Comments
 (0)