This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
fix scanning for code blocks
authorDavid Mitchell <davem@iabyn.com>
Wed, 7 Dec 2011 11:26:14 +0000 (11:26 +0000)
committerDavid Mitchell <davem@iabyn.com>
Wed, 13 Jun 2012 12:32:46 +0000 (13:32 +0100)
commit6f635923850b5cd9fcb7399e6455299f0371c5ff
treeb8c9d187dba9173b85b100c0195c043947fec512
parentab442d348926daf23fa84431c8bb2894bef87a69
fix scanning for code blocks

The toke code that scanned a pattern string to see if it looked like it
had any code blocks in it, used the wrong pointers. This then failed if
the pattern spread over multiple lines and buffers got reassigned.
toke.c