RT #130398
My recent fix for issues with and /(?{...})/, v5.25.7-97-g98d5e3e,
broke Method-Signatures and possibly TryCatch.
This commit seems to fix them, but is based on observation rather
than any deep understanding of what's going on.
/* Is the lex_shared linestr SV the same as the current linestr SV?
* Only in this case does re_eval_start need adjusting, since it
* points within lex_shared->ls_linestr's buffer */
- current = (linestr == PL_parser->lex_shared->ls_linestr);
+ current = ( !PL_parser->lex_shared->ls_linestr
+ || linestr == PL_parser->lex_shared->ls_linestr);
bufend_pos = PL_parser->bufend - buf;
bufptr_pos = PL_parser->bufptr - buf;