Fix perl bug #17920 : a case of parser coredump.
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Tue, 19 Nov 2002 23:02:31 +0000 (23:02 +0000)
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Tue, 19 Nov 2002 23:02:31 +0000 (23:02 +0000)
commit39aa8287bdfc9ec0aeb8d8ace09b665ef71c53a8
tree2d57a6a4f9e0b1df19c820d860874fae3c233148
parent61de9fb5aad39c2904a43125c7c70031be6bc679
Fix perl bug #17920 : a case of parser coredump.
The fix is to disable Perl_block_start and Perl_block_end
when the yacc parser has encountered errors. This prevents
corruption of the internal stack, at the expense of correctness,
but this doesn't matter as the code is unparseable anyway.

p4raw-id: //depot/perl@18166
op.c