Skip Menu |

This queue is for tickets about the ExtUtils-XSpp CPAN distribution.

Report information
The Basics
Id: 64418
Status: open
Priority: 0/
Queue: ExtUtils-XSpp

People
Owner: Nobody in particular
Requestors: shmuelfomberg [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.14
Fixed in: (no value)



Subject: XS++ should embed line directive in the resulting C file
Hello. It will make it easier to debug if the XS++ processor will add little line directives: #line 75 "typemap.map" and prevent the XS processor from adding its own line directives. This will give us an error pointing to the real location of the code, instead of looking on the C file and figuring it ourselves. Shmuel.
Subject: Re: [rt.cpan.org #64418] XS++ should embed line directive in the resulting C file
Date: Mon, 03 Jan 2011 20:28:54 +0100
To: bug-ExtUtils-XSpp [...] rt.cpan.org
From: Steffen Mueller <smueller [...] cpan.org>
On 01/03/2011 03:24 PM, Shmuel Fomberg via RT wrote: \> It will make it easier to debug if the XS++ processor will add little Show quoted text
> line directives: > #line 75 "typemap.map" > > and prevent the XS processor from adding its own line directives. > > This will give us an error pointing to the real location of the code, > instead of looking on the C file and figuring it ourselves.
Indeed, I think this is a good idea. I'd wager it would be doable on the EU::XSpp side of things. xsubpp as -nolinenumbers, so if it passes through what we hand in, we might be good (with a bit of work...). --Steffen