summaryrefslogtreecommitdiff
path: root/mg.h
diff options
context:
space:
mode:
authorTony Cook <tony@develop-help.com>2018-01-30 16:40:53 +1100
committerTony Cook <tony@develop-help.com>2018-02-06 09:13:31 +1100
commitbb4e4c3869d9fb6ee5bddd820c2a373601ecc310 (patch)
treecf7b4bcfcfc4d20c184e06a6dea9fff9bf8aed8b /mg.h
parent4bfb5532d393d56b18d13bc19f70f6f7a64ae781 (diff)
downloadperl-bb4e4c3869d9fb6ee5bddd820c2a373601ecc310.tar.gz
(perl #125351) abort parsing if parse errors happen in a sub lex
We've had a few reports of segmentation faults and other misbehaviour when sub-parsing, such as within interpolated expressions, fails. This change aborts compilation if anything complex enough to not be parsed by the lexer is compiled in a sub-parse *and* an error occurs within the sub-parse. An earlier version of this patch failed on simpler expressions, which caused many test failures, which this version doesn't (which may just mean we need more tests...)
Diffstat (limited to 'mg.h')
0 files changed, 0 insertions, 0 deletions