This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
localise $@ around source filters
authorZefram <zefram@fysh.org>
Mon, 13 Nov 2017 13:30:36 +0000 (13:30 +0000)
committerZefram <zefram@fysh.org>
Mon, 13 Nov 2017 13:36:51 +0000 (13:36 +0000)
commitb6f3718f1b3218256c962a8f46e747048228d196
treef87ce3fc7171451363801588d7405b72afa9dffa
parentca84e88ece180337b1ea0b8a2b9d4211b1089878
localise $@ around source filters

$@ could be clobbered by source filters, screwing up the reporting of
errors in the filtered source.  Prevent this by localising $@ around
each call to a source filter.  Fixes [perl #38920].
MANIFEST
t/comp/filter_exception.t [new file with mode: 0644]
t/porting/test_bootstrap.t
toke.c