On Sun, Apr 20, 2008 at 12:37:32PM -0700, Jonathan Worthington via RT wrote:
> Patrick R. Michaud wrote:
> > Rakudo doesn't use the line numbering feature of imcc because
> > the line numbering feature of imcc doesn't work.
> >
> > See RT#43269 - "setline is tied to PIR source".
>   
> I wouldn't say it doesn' work per se, it just doesn't do what you want 
> it to do. :-) 

Fair enough.  However, I'm in favor of Chip's remark in #40806 that
says we should use setfile/setline (opcodes) for tracking HLL lines
and the #line <num> "<file>" directive for tracking lines of PIR
source.  

> There's something spec'd in the bytecode PDD to do what we 
> need for Rakudo, it's just not implemented yet. I will try and get to it 
> soon.

That would be great.  As you can tell, this is a source of great
confusion for people who are writing in and developing Rakudo.

Pm

Reply via email to