[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: unknown location: definition in expression context in subform optnam
From: |
Mark H Weaver |
Subject: |
Re: unknown location: definition in expression context in subform optname-from of "_^" |
Date: |
Fri, 27 Jan 2012 01:27:28 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) |
Hi Noah,
Noah Lavine <address@hidden> writes:
> I am not an expert, but this is my guess about what's happening: you
> get the form from the file with scm_read. scm_read returns a regular
> s-expression, not a syntax object.
Actually, source location information is not stored in syntax objects.
Instead, it is associated with each raw s-expression using a weak-key
`eq?' hash table. This is done automatically by 'read' if the
'positions' read-option is enabled (the default). Note that this
strategy implies that source location can only be associated with
parenthesized expressions, not atoms. See 'Source Properties' in the
Guile manual for details.
Best,
Mark
- Re: unknown location: definition in expression context in subform optname-from of "_^", (continued)
- Re: unknown location: definition in expression context in subform optname-from of "_^", Mark H Weaver, 2012/01/26
- Re: unknown location: definition in expression context in subform optname-from of "_^", Bruce Korb, 2012/01/26
- Re: unknown location: definition in expression context in subform optname-from of "_^", Noah Lavine, 2012/01/26
- Re: unknown location: definition in expression context in subform optname-from of "_^", Bruce Korb, 2012/01/26
- Re: unknown location: definition in expression context in subform optname-from of "_^", Mark H Weaver, 2012/01/28
- Re: unknown location: definition in expression context in subform optname-from of "_^", Bruce Korb, 2012/01/28
- Re: unknown location: definition in expression context in subform optname-from of "_^", Andy Wingo, 2012/01/28
- Re: unknown location: definition in expression context in subform optname-from of "_^", Mark H Weaver, 2012/01/28
- Re: unknown location: definition in expression context in subform optname-from of "_^", Andy Wingo, 2012/01/28
- Re: unknown location: definition in expression context in subform optname-from of "_^", Andy Wingo, 2012/01/28
- Re: unknown location: definition in expression context in subform optname-from of "_^",
Mark H Weaver <=
- Re: unknown location: definition in expression context in subform optname-from of "_^", Mark H Weaver, 2012/01/27
- Re: unknown location: definition in expression context in subform optname-from of "_^", Bruce Korb, 2012/01/27
- Re: unknown location: definition in expression context in subform optname-from of "_^", Mark H Weaver, 2012/01/27