This is the mail archive of the kawa@sourceware.org mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: evaluating syntax transformer threw unbound location first


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]