>> findLineNum doesn't quite do what I want - it works on the text of the
>> srcref, not on the parse tree.
>
> It searches through the parse tree for the smallest source ref that contains
> a given line. So for example,
>
> if(condition) {
> blah
> blah
> blah
> }
>
> is a single statement, an
> The bug is now fixed in R-devel and R-patched.
Thanks!
Hadley
--
Assistant Professor / Dobelman Family Junior Chair
Department of Statistics / Rice University
http://had.co.nz/
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/lis
On 11-05-12 2:37 PM, Duncan Murdoch wrote:
On 12/05/2011 1:02 PM, Hadley Wickham wrote:
Hi all,
Is it possible to "recursively" parse srcrefs to match the recursive
structure of the underlying code? I'm interested in this because it's
I don't understand what you mean by that. It is certainl
Le 12/05/11 21:59, Hadley Wickham a écrit :
Is it possible to "recursively" parse srcrefs to match the recursive
structure of the underlying code? I'm interested in this because it's
I don't understand what you mean by that. It is certainly possible to walk
through nested srcrefs, to zoom i
On 12/05/2011 3:59 PM, Hadley Wickham wrote:
Is it possible to "recursively" parse srcrefs to match the recursive
structure of the underlying code? I'm interested in this because it's
I don't understand what you mean by that. It is certainly possible to walk
through nested srcrefs, to zoom in
>> Is it possible to "recursively" parse srcrefs to match the recursive
>> structure of the underlying code? I'm interested in this because it's
>
> I don't understand what you mean by that. It is certainly possible to walk
> through nested srcrefs, to zoom in on a particular location; that's wha
On 12/05/2011 1:02 PM, Hadley Wickham wrote:
Hi all,
Is it possible to "recursively" parse srcrefs to match the recursive
structure of the underlying code? I'm interested in this because it's
I don't understand what you mean by that. It is certainly possible to
walk through nested srcrefs,