Skip to content
Prev 22507 / 63421 Next

parse/INSTALL feature request(s)

On 10/21/2006 6:36 PM, Michael Toews wrote:
Thank you.
No, that's not what I was referring to.  Preprocessors put lines like

#line 3 "header.h"

into their output so that the compiler can put useful debugging 
information into files when it processes them.  R could do that when it 
concatenates the files, and then tell you the origin of each line, not 
the relatively useless line number from the concatenated file.  (A very 
simple version would add a record like that on every line, and that 
would work with the current error reporting system; a slightly more 
sophisticated version would just put those lines in between each 
concatenated file, and then the error reporting would need to be made 
aware of them.)

  This
I'm reasonably hopeful that version 2.5.0 will have more source level 
debugging support in it, at least to the level of the "slightly more 
sophisticated version", and maybe better than that.

If you'd like to help with this, you can see the (currently extremely 
unstable and incomplete) code on the djm-source branch in the 
repository.  No support for "#line" yet.

Duncan Murdoch