On Mon, 2009-02-23 at 12:13 -0800, Derick Eddington wrote: > On Mon, 2009-02-23 at 20:34 +0100, Andreas Rottmann wrote: > > kub <[email protected]> writes: > > > > > Hi, > > > How can i obtain character position from syntax object ? > > > > > On a related note, is there some variation of `read' that returns a > > syntax object with source (character) position, so you can get > > reasonable error messages for files "included" at expand-time? > > I'm not sure this entirely addresses what you're looking for, but the > normal read already does that for my include library:
Oh wait, it doesn't give source location for non-lexical errors, like undefined identifiers. -- : Derick ----------------------------------------------------------------
