On Tue, Mar 6, 2012 at 12:35 PM, Mark H Weaver <m...@netris.org> wrote:
> Guile's reader is of no help at all with source properties.
> Fortunately, Guile provides all of the interfaces you need to do this
> job from Scheme: 'set-source-properties!', 'port-filename', 'port-line'
> and 'port-column'.  This will have to be implemented in the sweet
> expression reader.

So, is there any standard for Guile what error messages should I provide?
Are port-filename ,port-line ,port-column three enough?
And how about the format should I throw with them?
What about this:
------------------------------cut-------------------------------------------
(error "invalid syntax!" port-filename port-line port-column)
------------------------------end------------------------------------------

Regards.

Reply via email to