This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
add assertions about format lexing
authorZefram <zefram@fysh.org>
Sun, 5 Nov 2017 04:45:04 +0000 (04:45 +0000)
committerZefram <zefram@fysh.org>
Sun, 5 Nov 2017 04:45:04 +0000 (04:45 +0000)
commitb1f87deab83933d92fc290fdecf45641100ff81d
treeec058ee36521c734892ec6dbf7c343eafebb1121
parentb54ed1c793fbfd1e9a6bdf117dea77bfac8ba4a4
add assertions about format lexing

[perl #132158] describes a situation in which a weird kind of unterminated
format caused the parser to crash.  Add some assertions that catch the
messed up parser state before it actually crashes.
toke.c