Subject: | skipspace may be buggy |
The patch from https://rt.cpan.org/Ticket/Display.html?id=102918 may need to be applied to stolen_chunk_of_toke.c. B::Hooks::Toke::skipspace/hook_toke_skipspace may well be buggy without it on recent perls, due to its use of PL_sublex_info.sub_inwhat. I don’t really know how to go about testing it.
Now, the *real* reason I bring this up is that I am considering eliminating the sublex_info struct, to avoid alignment holes. B::Hooks::Parser is the only CPAN user of PL_sublex_info.
BTW, signatures seems to be the only CPAN module using skipspace (or scan_str, which calls skipspace), but it works in such a way as to be unaffected by this potential bug.