From: Matthew Horsfall Date: Mon, 23 Mar 2015 19:27:48 +0000 (-0400) Subject: dont use sub_inwhat (RT#102918) X-Git-Tag: v0.006018~4 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=7fc37409865dab1d5bbd358c57be8ce5c8b00a8b;p=p5sagit%2FDevel-Declare.git dont use sub_inwhat (RT#102918) --- diff --git a/stolen_chunk_of_toke.c b/stolen_chunk_of_toke.c index c667eaa..b9e5037 100644 --- a/stolen_chunk_of_toke.c +++ b/stolen_chunk_of_toke.c @@ -342,7 +342,7 @@ S_skipspace(pTHX_ register char *s, int incline) * of the buffer, we're not reading from a source filter, and * we're in normal lexing mode */ - if (s < PL_bufend || !PL_rsfp || PL_sublex_info.sub_inwhat || + if (s < PL_bufend || !PL_rsfp || PL_lex_inwhat || PL_lex_state == LEX_FORMLINE) return s;