haskell/haddock — pull request #331 by treeowl (2014-10-10 00:08:06+00:00)
Title: Fix improper lazy IO use

Make `getPrologue` force `parseParas dflags str` before returning. Without this, it will attempt to read from the file after it is closed, with unspecified and generally bad results.