Mark H Weaver <m...@netris.org> writes:

> Currently, Guile stores location info using a weak-key hash table, keyed
> on the datums read from the file.  This means that location info cannot
> be stored for bare symbols or other immediate values (booleans,
> characters, small exact integers).

Symbols are not immediate values, so I shouldn't have written "other".

However, because they are interned, they behave like immediates in the
following sense: 'read' returns the same (by 'eq?') object for any two
occurrences of a given symbol.  Therefore, there's no way to associate
source location information with each copy of the same symbol.

     Mark

Reply via email to