diff options
author | George Greer <perl@greerga.m-l.org> | 2010-07-10 19:18:12 -0400 |
---|---|---|
committer | Rafael Garcia-Suarez <rgs@consttype.org> | 2010-07-12 13:53:33 +0200 |
commit | 634d6919699655c843f8d8c3ea64922d0403c499 (patch) | |
tree | b77d3c56a3b4a086cfc3f2877474006ea34e257c /embed.fnc | |
parent | 31be325893db1b4bd951b7e64f1557d4c5ca6246 (diff) | |
download | perl-634d6919699655c843f8d8c3ea64922d0403c499.tar.gz |
Fix for RT#2353: catch yyparse() exceptions in (?{...})
Ticket is entitled:
"panic: top_env when localizing a lexical variable in qr{(?{...})}"
but a better description would be:
"(?{...}) does not catch yyparse() exceptions in regex compilation"
Changes Perl_sv_compile_2op() to tell doeval() that it must use
S_try_yyparse() to catch any exception that yyparse() may throw.
Diffstat (limited to 'embed.fnc')
0 files changed, 0 insertions, 0 deletions