Andy, what's this about? GHC already understands #LINE pragmas a la cpp. Is that what you wanted? Your pragma looks more fine-grained than that, I guess.
Simon | -----Original Message----- | From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] | On Behalf Of Andy Gill | Sent: 29 December 2006 07:36 | To: [EMAIL PROTECTED] | Subject: patch applied (ghc): Adding a GENERATED pragma | | Thu Dec 28 23:29:48 PST 2006 [EMAIL PROTECTED] | * 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 | | _______________________________________________ | Cvs-ghc mailing list | [EMAIL PROTECTED] | http://www.haskell.org/mailman/listinfo/cvs-ghc _______________________________________________ Cvs-ghc mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/cvs-ghc
