[perl #45857] [IMCC][RFC] #line vs .line

Klaas-Jan Stol via RT parrotbug-followup at parrotcode.org
Sun Nov 23 21:47:11 UTC 2008


On Thu Dec 13 04:35:13 2007, pmichaud wrote:
> On Sat Sep 29 08:57:28 2007, kjs wrote:
> > A few months ago, the "#line" directive was implemented.
> > 
> > I'm wondering what the reason was why it looks like a comment (as # 
will
> > start a comment).
> > Is there any reason to not replace this by ".line"? A directive 
typically
> > tells the assembler/compiler something, and in this case it updates
> the line
> > number.
> 
> As this gets addressed we should also address the handling of the
> 'setline' opcode (RT #43269).
> 
> Pm


.line directive is implemented per r33084. #line still works.

I'm not sure what Pm meant by addressing the handling of 'setline' 
opcode, so leaving this ticket open.

kjs




More information about the parrot-dev mailing list