[dmd-internals] Error messages with no line number

Benjamin Shropshire benjamin at precisionsoftware.us
Thu Jun 3 16:02:53 PDT 2010


On Thu, Jun 3, 2010 at 3:53 PM, Trass3r <mrmocool at gmx.de> wrote:

> Yeah the error handling is a mess.
> There are several different versions of error() in different places
> (mars.c, root.c, expression.c, ...). Some add loc by themselves, some don't
> (like the global one you mentioned).
> I think that's why it's so error prone.
>
>
Maybe cleaning that up should be next weeks project...


As for the cases where it's not clear what LOC to put out, I'd say even an
arbitrary value would be better than nothing.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/dmd-internals/attachments/20100603/d5149223/attachment.html>


More information about the dmd-internals mailing list