Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Devel-PPPort CPAN distribution.

Report information
The Basics
Id: 39802
Status: resolved
Priority: 0/
Queue: Devel-PPPort

People
Owner: Nobody in particular
Requestors: rafl [...] debian.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 3.14_01
Fixed in: 3.14_02



Subject: Support parser variables
In previous versions of perl several variables related to the parser, like PL_linestr, PL_bufptr, PL_bufend and PL_lex_stuff, have been available in the perlapi. With 5.10 those have been moved to the newly created PL_parser. Backward compatibility to the old PL_* variables exists only as a series of #defines in toke.c and is therefor not usable for the outside world, which was able to use those variables before.
I didn't add *all* parser variables, mainly because work is involved with adding each of them and writing test cases and so on. And because I don't want to bloat ppport.h with stuff that's not being used by anyone. However, I've added the ones you explicitly mentioned as well as the ones I found in the Devel::Declare source to D::PPP 3.14_02. Let me know if you need any other variables. Marcus