On Oct 30, 2004, at 12:58 AM, Leopold Toetsch wrote:

Nicholas Clark <[EMAIL PROTECTED]> wrote:
On Fri, Oct 29, 2004 at 05:47:55PM +0200, Leopold Toetsch wrote:

* The created C code could benefit from #line directives to track where
C code came from the input .pmc file, so that compiler errors are reported
for the original .pmc file. Perl 5's xsubpp does this well, using #line
directives to switch between foo.c and foo.xs, depending on whether that
section of code was human written, or autogenerated. It makes things much
easier while developing.

Yep, thanks. The hooks are there, as well as a command-line option to turn line numbers off, which is sometimes useful.

Anyway most line number stuff is already inside, but it's broken and
needs fixing.

FYI I'm fiddling with classes/pmc2c2.pl, in connection with your ccache-ish "feature request", but I'm not (much) touching Pmc2c.pm, so I shouldn't conflict with anyone working there.


JEff



Reply via email to