Ticket #93 (closed refactoring: fixed)
Move lexing and parsing of doc strings into Haddock
|Reported by:||waern||Owned by:|
Description (last modified by waern) (diff)
Currently, GHC does lexing and parsing of doc strings. This was decided so GHC could rename them during its renamer phase. Since it's possible to access the renaming environment from the GHC API, we could do the renaming in Haddock instead, which would enable us to move lexing and parsing of doc strings into Haddock. The advantage is that we don't have to do development to GHC in order to make changes to these components.