FAQ
Could someone apply this ?
In case the patch isn't crystal clear, it prevents the tokenizer from
segfaulting in debug mode when a FUNC token is forced. Makes also the
debug report for forced tokens more explicit.

--- toke.c
+++ toke.c
@@ -1359,7 +1359,7 @@
#ifdef DEBUGGING
if (DEBUG_T_TEST) {
PerlIO_printf(Perl_debug_log, "### forced token:\n");
- tokereport(THING, &NEXTVAL_NEXTTOKE);
+ tokereport(type, &NEXTVAL_NEXTTOKE);
}
#endif
#ifdef PERL_MAD

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 2 | next ›
Discussion Overview
groupperl5-porters @
categoriesperl
postedMay 16, '08 at 10:13a
activeMay 16, '08 at 12:13p
posts2
users2
websiteperl.org

People

Translate

site design / logo © 2018 Grokbase