On 7 May 2011 04:34, Ian Lynagh <[email protected]> wrote: > Just changing the macro to return the "[source:..." string didn't work > (we just get "[source:..." in the HTML). It might be possible to make it > work, but I've instead changed it to produce the same trac/ghc/browser/ > URLs that the source macro does.
Great! This only partially works as the original behavior of the GhcFile macro worked out the extension of the file for you. e.g GhcFile(compiler/main/HscMain) GhcFile(compiler/main/HscMain.lhs) GhcFile(compiler/main/HscMain.hs) All were resolved correctly to 'compiler/main/HscMain.lhs'. So at the moment about half the source links in the wiki don't work as they have no extension information or the wrong extension (lhs instead of hs, visa versa). Cheers, David _______________________________________________ Cvs-ghc mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-ghc
