On Sat, Nov 28, 2009 at 08:18:11PM +0000, Ian Lynagh wrote: > > I've just looked at a few other common tools to see what they do, but > the answer turns out to be "not give column numbers".
Found a couple that do; cpp and yacc both look like they start at 1: $ printf "'\nabc'\n" > z $ cpp z # 1 "z" # 1 "<built-in>" # 1 "<command-line>" # 1 "z" z:1:1: warning: missing terminating ' character ' z:2:4: warning: missing terminating ' character abc' $ echo foo > z $ yacc z z:1.1-3: syntax error, unexpected identifier Thanks Ian _______________________________________________ Cvs-ghc mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-ghc
