On Fri, Nov 27, 2009 at 04:11:43PM +0000, Simon Marlow wrote: > On 27/11/2009 15:00, Ian Lynagh wrote: >> >> of modules, but then fails due to SrcLoc's thinking tabs are 1 character >> wide), and then we can look at tweaking the rule. > > SrcLocs think tabs are 1 character wide? But surely our error messages > are column-accurate normally, so how can this be?
Probably because we normally don't use tabs :-) $ printf 'foo = 11\t\t\t\tmodule' > q.hs # That's 8 characters then 3 tabs then the module keyword $ ghc -c q.hs q.hs:1:12: parse error on input `module' Thanks Ian _______________________________________________ Cvs-ghc mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-ghc
