[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Macro expansion: unknown location
From: |
Mark H Weaver |
Subject: |
Re: Macro expansion: unknown location |
Date: |
Sat, 14 Jun 2014 18:45:59 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Mark H Weaver <address@hidden> 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