[m-dev.] preferences for error contexts

Paul Bone pbone at csse.unimelb.edu.au
Fri May 15 17:13:59 AEST 2009


On Fri, May 15, 2009 at 04:54:49PM +1000, Peter Ross wrote:
> On Fri, May 15, 2009 at 4:34 PM, Paul Bone  wrote:
> > On Fri, May 15, 2009 at 04:04:47PM +1000, Ralph Becket wrote:
> >> Paul Bone, Friday, 15 May 2009:
> >> >
> >> > I use the tool 'error' which takes the error output of mmc or some other
> >> > compiler and adds the errors as source code comments to the relevant parts of
> >> > my source files.  This will break with the new format, as in the example above
> >> > only the text "In clause for" would be added to my source file.
> >>
> >> Surely 'error' can't be more than a few lines of Awk?
> >
> > ~pbone/bin/error is compiled from error.m which comes from somewhere in the
> > mercury CVS repository.
> >
> > Why does it matter?
> >
> Well you could modify it to handle the new style of errors.  All it
> needs to do is use the last error lines context if the new line
> doesn't have one.  Should be trivial to implement.
> 

Heh,

I didn't think of that.  (I blame not feeling well).


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.mercurylang.org/archives/developers/attachments/20090515/153ccffe/attachment.sig>


More information about the developers mailing list