This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
Re: evaluating syntax transformer threw unbound location first
- From: Per Bothner <per at bothner dot com>
- To: Panicz Maciej Godek <godek dot maciek at gmail dot com>
- Cc: kawa at sourceware dot org
- Date: Sun, 15 Dec 2013 17:15:41 -0800
- Subject: Re: evaluating syntax transformer threw unbound location first
- Authentication-results: sourceware.org; auth=none
- References: <CAMFYt2ZnTnpc7FXhFhUpcD3=uyyWT+q4nkfNjjPLo-RyBcAMKA at mail dot gmail dot com> <52AC04DB dot 2070700 at bothner dot com> <CAMFYt2ZzemScXfB6bLvTdqZp7nW6prgK=vev_0g---1nNOykow at mail dot gmail dot com>
On 12/14/2013 10:07 AM, Panicz Maciej Godek wrote:
Thanks. I did replace everything from srfi with core functions,
and the "unbound location" error was solved (I have to admit
that decoding the error message was a littie bit tricky, because
I thought that the transformer threw unbound location first,
that is, before the evaluation ;] It would be helpful if the
symbol was put in quotes or was otherwise distinguished
typographically)
How about:
unbound location: first
Guile does:
ERROR: Unbound variable: first
Alternatively:
unbound location 'first'
Kawa messages sometimes puts names in quotes, and sometimes not,
rather inconsistently.
Finally, gcc nowadays uses ‘this’ (in a Unicode context, at least):
foo.cc:1:9: error: ‘first’ was not declared in this scope
This is 0x2018 "left single quotation mark", and 2019 "right single
quotation mark". This is cute, but it does need some locale-depedent
logic to fall back when in a non-Unicode situation.
I'm leaning towards just:
unbound location: first
as just a small local change.
--
--Per Bothner
per@bothner.com http://per.bothner.com/