[EMAIL PROTECTED] (Ludovic Courtès) writes:

> My original motivation was to implement "position recording" in
> `guile-reader'.  In order to be compatible with the built-in reader, I
> wanted to use the same mechanism as the one it uses.  When I initially
> implemented it (not knowing about the restriction), I wrote something
> like:
>
>   if (SCM_NIMP (expr))
>     {
>       scm_set_source_property_x (expr, scm_sym_line, line);
>       ...
>     }
>
> And I was surprised to see that this wouldn't work on any kind of
> non-immediate.  [...]  Right, source properties are not "one size
> fits all" and should only be used by the reader.  Perhaps we should
> add a line about this in the manual?

Yes, I'll look into doing that.

     Neil



_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-devel

Reply via email to