From: Mathieu Bouchard Date: 2003-01-21T08:00:25+09:00 Subject: Re: nd_end and NODE_NEWLINE (fwd) On Mon, 20 Jan 2003 nobu.nokada@softhome.net wrote: > At Mon, 20 Jan 2003 13:08:06 +0900, > Mathieu Bouchard wrote: > > > |The other question is, what is the purpose of NODE_NEWLINE? > > > Keep track of line number in the executing source file, for debugging > > > and error reporting. > > I thought that was node->flags >> 19 ??? Then why this duplication? > Now line number is taken from there on demand, and NODE_NEWLINE > is just used as a trigger to debuggers for stepping. couldn't this work simply by having eval.c trigger a debugger event each time it sees the line number change? how much additional memory does that take? (and a much better question: how much more garbage collection time does that take?) ________________________________________________________________ Mathieu Bouchard http://artengine.ca/matju