AST changes to prepare for API annotations, for #9628
authorAlan Zimmerman <alan.zimm@gmail.com>
Fri, 21 Nov 2014 17:20:06 +0000 (11:20 -0600)
committerAustin Seipp <austin@well-typed.com>
Fri, 21 Nov 2014 17:26:10 +0000 (11:26 -0600)
commit7927658ed1dcf557c7dd78e4b9844100521391c8
tree16a5978453233ba0889af5fa3e59a60b42bc0bfc
parentcfa574cea30b411080de5d641309bdf135ed9be5
AST changes to prepare for API annotations, for #9628

Summary:
AST changes to prepare for API annotations

Add locations to parts of the AST so that API annotations can
then be added.

The outline of the whole process is captured here
https://ghc.haskell.org/trac/ghc/wiki/GhcAstAnnotations

This change updates the haddock submodule.

Test Plan: sh ./validate

Reviewers: austin, simonpj, Mikolaj

Reviewed By: simonpj, Mikolaj

Subscribers: thomie, goldfire, carter

Differential Revision: https://phabricator.haskell.org/D426

GHC Trac Issues: #9628
47 files changed:
compiler/basicTypes/BasicTypes.lhs
compiler/deSugar/Check.lhs
compiler/deSugar/Coverage.lhs
compiler/deSugar/Desugar.lhs
compiler/deSugar/DsExpr.lhs
compiler/deSugar/DsForeign.lhs
compiler/deSugar/DsMeta.hs
compiler/deSugar/Match.lhs
compiler/deSugar/MatchCon.lhs
compiler/hsSyn/Convert.lhs
compiler/hsSyn/HsBinds.lhs
compiler/hsSyn/HsDecls.lhs
compiler/hsSyn/HsExpr.lhs
compiler/hsSyn/HsImpExp.lhs
compiler/hsSyn/HsPat.lhs
compiler/hsSyn/HsSyn.lhs
compiler/hsSyn/HsTypes.lhs
compiler/hsSyn/HsUtils.lhs
compiler/main/HeaderInfo.hs
compiler/main/HscMain.hs
compiler/main/HscStats.hs
compiler/parser/HaddockUtils.hs
compiler/parser/Parser.y
compiler/parser/RdrHsSyn.hs
compiler/rename/RnBinds.lhs
compiler/rename/RnEnv.lhs
compiler/rename/RnExpr.lhs
compiler/rename/RnNames.lhs
compiler/rename/RnPat.lhs
compiler/rename/RnSource.lhs
compiler/rename/RnTypes.lhs
compiler/typecheck/TcBinds.lhs
compiler/typecheck/TcDeriv.lhs
compiler/typecheck/TcExpr.lhs
compiler/typecheck/TcForeign.lhs
compiler/typecheck/TcHsSyn.lhs
compiler/typecheck/TcInstDcls.lhs
compiler/typecheck/TcPat.lhs
compiler/typecheck/TcPatSyn.lhs
compiler/typecheck/TcRnDriver.lhs
compiler/typecheck/TcRules.lhs
compiler/typecheck/TcTyClsDecls.lhs
compiler/utils/Binary.hs
ghc/InteractiveUI.hs
testsuite/tests/haddock/haddock_examples/haddock.Test.stderr
utils/ghctags/Main.hs
utils/haddock