summaryrefslogtreecommitdiff
path: root/compiler/rename/RnHsDoc.hs
Commit message (Collapse)AuthorAgeFilesLines
* Refactor SrcLoc and SrcSpanIan Lynagh2011-06-091-1/+1
| | | | | | | | | | | | | | | The "Unhelpful" cases are now in a separate type. This allows us to improve various things, e.g.: * Most of the panic's in SrcLoc are now gone * The Lexer now works with RealSrcSpans rather than SrcSpans, i.e. it knows that it has real locations and thus can assume that the line number etc really exists * Some of the more suspicious cases are no longer necessary, e.g. we no longer need this case in advanceSrcLoc: advanceSrcLoc loc _ = loc -- Better than nothing More improvements can probably be made, e.g. tick locations can probably use RealSrcSpans too.
* fix warningsSimon Marlow2009-09-081-16/+0
|
* remove Haddock-lexing/parsing/renaming from GHCIsaac Dupree2009-08-261-72/+6
|
* Remove unused importsIan Lynagh2009-07-071-1/+0
|
* Make RnHsDoc warning-freeIan Lynagh2008-05-031-6/+3
|
* Merge from Haddock: Add <<url>> for imagesDavid Waern2007-11-121-0/+2
| | | | | | | | | | A merge of this patch: Mon Aug 7 16:22:14 CEST 2006 Simon Marlow <simonmar@microsoft.com> * Add <<url>> for images Submitted by: Lennart Augustsson Please merge to the 6.8.2 branch.
* Fix CodingStyle#Warnings URLsIan Lynagh2007-09-041-1/+1
|
* Use OPTIONS rather than OPTIONS_GHC for pragmasIan Lynagh2007-09-031-2/+2
| | | | | | | Older GHCs can't parse OPTIONS_GHC. This also changes the URL referenced for the -w options from WorkingConventions#Warnings to CodingStyle#Warnings for the compiler modules.
* Add {-# OPTIONS_GHC -w #-} and some blurb to all compiler modulesIan Lynagh2007-09-011-0/+7
|
* Refactor TcRnDriver, and check exports on hi-boot filessimonpj@microsoft.com2007-03-161-5/+17
| | | | | | | | | | This patch refactors TcRnDriver to make the top-level structure easier to understand. The change was driven by Trac #924, and this patch fixes that bug. When comparing a module against its hs-boot file, we must ensure that the module exports everything that the hs-boot file exports.
* More refactoring in RnNamessimonpj@microsoft.com2006-10-131-2/+2
| | | | | | | | | | | | | | | | | | | I rather self-indulgently spent a chunk of yesterday working on refactoring RnNames further. The result is significantly simpler: * A GlobalRdrElt gets an extra field, gre_par, which records the parent (if any) of the name * ImportAvails has two fields deleted: imp_env and imp_parent. The information provided by these fields was only used when processing the export list; and the same information is now readily generated from the GlobalRdrElts in the GlobalRdrEnv I also did some tidying up; notably moving AvailEnv stuff from TcRnTypes to RnNames. The result is tha the compiler is some 130 lines shorter than before
* Merge Haddock comment support from ghc.haddock -- big patchdavve@dtek.chalmers.se2006-10-051-0/+88