patch applied (ghc): Adding a GENERATED pragma
Andy Gill
andy at galois.com
Fri Dec 29 02:35:52 EST 2006
Thu Dec 28 23:29:48 PST 2006 andy at galois.com
* Adding a GENERATED pragma
Adding a {-# GENERATED "SourceFile" SourceSpan #-} <expr> pragma.
This will be used to generate coverage for tool generated (or quoted) code.
The pragma states the the expression was generated/quoted from the stated
source file and source span.
M ./compiler/deSugar/Coverage.lhs -3 +10
M ./compiler/deSugar/DsMeta.hs +1
M ./compiler/hsSyn/HsExpr.lhs +6
M ./compiler/parser/Lexer.x +3
M ./compiler/parser/Parser.y.pp -1 +17
M ./compiler/rename/RnExpr.lhs +3
M ./compiler/typecheck/TcExpr.lhs +3
M ./compiler/typecheck/TcHsSyn.lhs +4
More information about the Cvs-ghc
mailing list