Hi Andy and all,

I have a question regarding compiling to GHIL: When calling functions like (make-ghil-something) there are always these two parameters environment and location to pass. For location, I did so far always use #f and it works quite well. However, I guess there's some use for this argument too, isn't it?

Unfortunately, I couldn't so far find out what this location is really for (and how to use it correctly). My wild guess is that this is a means to associate source code positions to generated code in order to get useful backtraces? But I might be completely wrong here.

If so, is there another way to do this? Or can my compiler for Elisp to come only give line-number related errors during the compilation itself where it obviously knows about the position?

Thanks!

Daniel



Reply via email to